Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Unified Diff: webrtc/modules/audio_coding/test/TestVADDTX.h

Issue 1695763004: Replace scoped_ptr with unique_ptr in webrtc/modules/audio_coding/test/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up-neteq
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/test/TestVADDTX.h
diff --git a/webrtc/modules/audio_coding/test/TestVADDTX.h b/webrtc/modules/audio_coding/test/TestVADDTX.h
index 1e7f0ef4d74d296d3b5bad7d22ddac597659311e..893babc4e0a8c6afc36605b0789f526ddf32eb12 100644
--- a/webrtc/modules/audio_coding/test/TestVADDTX.h
+++ b/webrtc/modules/audio_coding/test/TestVADDTX.h
@@ -11,8 +11,8 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_TEST_TESTVADDTX_H_
#define WEBRTC_MODULES_AUDIO_CODING_TEST_TESTVADDTX_H_
+#include <memory>
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/common_types.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h"
@@ -68,10 +68,10 @@ class TestVadDtx : public ACMTest {
void Run(std::string in_filename, int frequency, int channels,
std::string out_filename, bool append, const int* expects);
- rtc::scoped_ptr<AudioCodingModule> acm_send_;
- rtc::scoped_ptr<AudioCodingModule> acm_receive_;
- rtc::scoped_ptr<Channel> channel_;
- rtc::scoped_ptr<ActivityMonitor> monitor_;
+ std::unique_ptr<AudioCodingModule> acm_send_;
+ std::unique_ptr<AudioCodingModule> acm_receive_;
+ std::unique_ptr<Channel> channel_;
+ std::unique_ptr<ActivityMonitor> monitor_;
};
// TestWebRtcVadDtx is to verify that the WebRTC VAD/DTX perform as they should.
« no previous file with comments | « webrtc/modules/audio_coding/test/TestStereo.h ('k') | webrtc/modules/audio_coding/test/TwoWayCommunication.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698