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

Unified Diff: components/captive_portal/captive_portal_detector_unittest.cc

Issue 1921973002: Convert //components/[a-e]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: components/captive_portal/captive_portal_detector_unittest.cc
diff --git a/components/captive_portal/captive_portal_detector_unittest.cc b/components/captive_portal/captive_portal_detector_unittest.cc
index 2f7c0fa16336ac56d28918f441b0416652e8b6c0..4da0ee3bf641e240ad5e59157284eb19d00a7f3f 100644
--- a/components/captive_portal/captive_portal_detector_unittest.cc
+++ b/components/captive_portal/captive_portal_detector_unittest.cc
@@ -4,10 +4,11 @@
#include "components/captive_portal/captive_portal_detector.h"
+#include <memory>
+
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/thread_task_runner_handle.h"
#include "base/time/time.h"
@@ -113,7 +114,7 @@ class CaptivePortalDetectorTest : public testing::Test,
private:
base::MessageLoop message_loop_;
- scoped_ptr<CaptivePortalDetector> detector_;
+ std::unique_ptr<CaptivePortalDetector> detector_;
};
// Test that the CaptivePortalDetector returns the expected result
« no previous file with comments | « components/captive_portal/captive_portal_detector.h ('k') | components/certificate_reporting/error_report.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698