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

Unified Diff: components/password_manager/core/browser/affiliation_service_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/affiliation_service_unittest.cc
diff --git a/components/password_manager/core/browser/affiliation_service_unittest.cc b/components/password_manager/core/browser/affiliation_service_unittest.cc
index 4a85811677f8f2127370d1f415172e0b4d74b77a..0d54ef5407f405bd2913cdfd9c15b09cd15beb60 100644
--- a/components/password_manager/core/browser/affiliation_service_unittest.cc
+++ b/components/password_manager/core/browser/affiliation_service_unittest.cc
@@ -7,11 +7,12 @@
#include "components/password_manager/core/browser/affiliation_service.h"
+#include <memory>
+
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/test/test_mock_time_task_runner.h"
#include "base/test/test_simple_task_runner.h"
#include "base/thread_task_runner_handle.h"
@@ -95,7 +96,7 @@ class AffiliationServiceTest : public testing::Test {
ScopedFakeAffiliationAPI fake_affiliation_api_;
MockAffiliationConsumer mock_consumer_;
- scoped_ptr<AffiliationService> service_;
+ std::unique_ptr<AffiliationService> service_;
DISALLOW_COPY_AND_ASSIGN(AffiliationServiceTest);
};

Powered by Google App Engine
This is Rietveld 408576698