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

Unified Diff: components/password_manager/core/browser/facet_manager_unittest.cc

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change Created 4 years, 9 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/password_manager/core/browser/facet_manager_unittest.cc
diff --git a/components/password_manager/core/browser/facet_manager_unittest.cc b/components/password_manager/core/browser/facet_manager_unittest.cc
index 554e49d3f2dbebfc25d9724a4afcd345ddcf2b67..7bb7c718eeb10680c35d1aed5067c93af38fda29 100644
--- a/components/password_manager/core/browser/facet_manager_unittest.cc
+++ b/components/password_manager/core/browser/facet_manager_unittest.cc
@@ -6,12 +6,13 @@
#include <stddef.h>
+#include <memory>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/rand_util.h"
#include "base/test/test_mock_time_task_runner.h"
#include "base/test/test_simple_task_runner.h"
@@ -400,11 +401,11 @@ class FacetManagerTest : public testing::Test {
MockAffiliationConsumer mock_consumer_;
scoped_refptr<base::TestSimpleTaskRunner> consumer_task_runner_;
scoped_refptr<base::TestMockTimeTaskRunner> main_task_runner_;
- scoped_ptr<base::Clock> main_clock_;
+ std::unique_ptr<base::Clock> main_clock_;
TestFacetManagerNotifier facet_manager_notifier_;
MockFacetManagerHost facet_manager_host_;
- scoped_ptr<FacetManager> facet_manager_;
+ std::unique_ptr<FacetManager> facet_manager_;
base::Time facet_manager_creation_;
DISALLOW_COPY_AND_ASSIGN(FacetManagerTest);

Powered by Google App Engine
This is Rietveld 408576698