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

Unified Diff: webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/tools/agc/agc_harness.cc ('k') | webrtc/tools/force_mic_volume_max/force_mic_volume_max.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc
diff --git a/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc b/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc
index 2594fd1317b0a106a27c45db9f7eb90e6d5f3d57..fb07b569faf406032e961e82be931f7baed8030e 100644
--- a/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc
+++ b/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc
@@ -12,10 +12,11 @@
// and runs forever. Some parameters can be configured through command-line
// flags.
+#include <memory>
+
#include "gflags/gflags.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/test/channel_transport/channel_transport.h"
#include "webrtc/voice_engine/include/voe_audio_processing.h"
#include "webrtc/voice_engine/include/voe_base.h"
@@ -48,7 +49,7 @@ void RunHarness() {
int channel = base->CreateChannel();
ASSERT_NE(-1, channel);
- rtc::scoped_ptr<VoiceChannelTransport> voice_channel_transport(
+ std::unique_ptr<VoiceChannelTransport> voice_channel_transport(
new VoiceChannelTransport(network, channel));
ASSERT_EQ(0, voice_channel_transport->SetSendDestination("127.0.0.1", 1234));
« no previous file with comments | « webrtc/tools/agc/agc_harness.cc ('k') | webrtc/tools/force_mic_volume_max/force_mic_volume_max.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698