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

Unified Diff: webrtc/base/rtccertificategenerator_unittest.cc

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased 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/base/rtccertificategenerator.cc ('k') | webrtc/base/scopedptrcollection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/rtccertificategenerator_unittest.cc
diff --git a/webrtc/base/rtccertificategenerator_unittest.cc b/webrtc/base/rtccertificategenerator_unittest.cc
index 162a2d5b09f6285e4db4b48436ec38aa4b5b994f..750839cdfdadfe6a7b14510894fced7d717edf30 100644
--- a/webrtc/base/rtccertificategenerator_unittest.cc
+++ b/webrtc/base/rtccertificategenerator_unittest.cc
@@ -10,11 +10,12 @@
#include "webrtc/base/rtccertificategenerator.h"
+#include <memory>
+
#include "webrtc/base/checks.h"
#include "webrtc/base/gunit.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/optional.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/thread.h"
namespace rtc {
@@ -59,8 +60,8 @@ class RTCCertificateGeneratorFixture : public RTCCertificateGeneratorCallback {
protected:
Thread* const signaling_thread_;
- scoped_ptr<Thread> worker_thread_;
- scoped_ptr<RTCCertificateGenerator> generator_;
+ std::unique_ptr<Thread> worker_thread_;
+ std::unique_ptr<RTCCertificateGenerator> generator_;
scoped_refptr<RTCCertificate> certificate_;
bool generate_async_completed_;
};
« no previous file with comments | « webrtc/base/rtccertificategenerator.cc ('k') | webrtc/base/scopedptrcollection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698