Use base/scoped_ptr.h; system_wrappers/interface/scoped_ptr.h is going away
BUG=
R=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36229004
Cr-Commit-Position: refs/heads/master@{#8517}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8517 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h
index 65437fe..9d99bf0 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.h
+++ b/webrtc/modules/audio_processing/audio_processing_impl.h
@@ -16,8 +16,8 @@
#include <list>
#include <string>
+#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/thread_annotations.h"
-#include "webrtc/system_wrappers/interface/scoped_ptr.h"
namespace webrtc {
@@ -180,19 +180,19 @@
LevelEstimatorImpl* level_estimator_;
NoiseSuppressionImpl* noise_suppression_;
VoiceDetectionImpl* voice_detection_;
- scoped_ptr<GainControlForNewAgc> gain_control_for_new_agc_;
+ rtc::scoped_ptr<GainControlForNewAgc> gain_control_for_new_agc_;
std::list<ProcessingComponent*> component_list_;
CriticalSectionWrapper* crit_;
- scoped_ptr<AudioBuffer> render_audio_;
- scoped_ptr<AudioBuffer> capture_audio_;
+ rtc::scoped_ptr<AudioBuffer> render_audio_;
+ rtc::scoped_ptr<AudioBuffer> capture_audio_;
#ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP
// TODO(andrew): make this more graceful. Ideally we would split this stuff
// out into a separate class with an "enabled" and "disabled" implementation.
int WriteMessageToDebugFile();
int WriteInitMessage();
- scoped_ptr<FileWrapper> debug_file_;
- scoped_ptr<audioproc::Event> event_msg_; // Protobuf message.
+ rtc::scoped_ptr<FileWrapper> debug_file_;
+ rtc::scoped_ptr<audioproc::Event> event_msg_; // Protobuf message.
std::string event_str_; // Memory for protobuf serialization.
#endif
@@ -215,12 +215,12 @@
// Only set through the constructor's Config parameter.
const bool use_new_agc_;
- scoped_ptr<AgcManagerDirect> agc_manager_ GUARDED_BY(crit_);
+ rtc::scoped_ptr<AgcManagerDirect> agc_manager_ GUARDED_BY(crit_);
bool transient_suppressor_enabled_;
- scoped_ptr<TransientSuppressor> transient_suppressor_;
+ rtc::scoped_ptr<TransientSuppressor> transient_suppressor_;
const bool beamformer_enabled_;
- scoped_ptr<Beamformer> beamformer_;
+ rtc::scoped_ptr<Beamformer> beamformer_;
const std::vector<Point> array_geometry_;
};