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

Unified Diff: webrtc/api/proxy_unittest.cc

Issue 1930463002: Replace scoped_ptr with unique_ptr in webrtc/api/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
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/api/proxy.h ('k') | webrtc/api/remoteaudiosource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/proxy_unittest.cc
diff --git a/webrtc/api/proxy_unittest.cc b/webrtc/api/proxy_unittest.cc
index 557c85bf11f035b7457165c3c7c0da1694ab3740..931ba28eba83ee41f258022bd9c714240cda79f0 100644
--- a/webrtc/api/proxy_unittest.cc
+++ b/webrtc/api/proxy_unittest.cc
@@ -10,12 +10,12 @@
#include "webrtc/api/proxy.h"
+#include <memory>
#include <string>
#include "testing/gmock/include/gmock/gmock.h"
#include "webrtc/base/gunit.h"
#include "webrtc/base/refcount.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/thread.h"
using ::testing::_;
@@ -98,7 +98,7 @@ class SignalingProxyTest : public testing::Test {
}
protected:
- rtc::scoped_ptr<rtc::Thread> signaling_thread_;
+ std::unique_ptr<rtc::Thread> signaling_thread_;
rtc::scoped_refptr<FakeInterface> fake_signaling_proxy_;
rtc::scoped_refptr<Fake> fake_;
};
@@ -175,7 +175,7 @@ class ProxyTest : public SignalingProxyTest {
}
protected:
- rtc::scoped_ptr<rtc::Thread> worker_thread_;
+ std::unique_ptr<rtc::Thread> worker_thread_;
rtc::scoped_refptr<FakeInterface> fake_proxy_;
};
« no previous file with comments | « webrtc/api/proxy.h ('k') | webrtc/api/remoteaudiosource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698