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

Unified Diff: components/password_manager/core/browser/fake_affiliation_api.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/fake_affiliation_api.cc
diff --git a/components/password_manager/core/browser/fake_affiliation_api.cc b/components/password_manager/core/browser/fake_affiliation_api.cc
index 6edd706930a5c2375a61cb99b980062a0695b062..6db19f0ca5269404e4b573ecc88be8bdae73730e 100644
--- a/components/password_manager/core/browser/fake_affiliation_api.cc
+++ b/components/password_manager/core/browser/fake_affiliation_api.cc
@@ -5,9 +5,9 @@
#include "components/password_manager/core/browser/fake_affiliation_api.h"
#include <algorithm>
+#include <memory>
#include <utility>
-#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace password_manager {
@@ -43,7 +43,7 @@ void ScopedFakeAffiliationAPI::ServeNextRequest() {
return;
FakeAffiliationFetcher* fetcher = fake_fetcher_factory_.PopNextFetcher();
- scoped_ptr<AffiliationFetcherDelegate::Result> fake_response(
+ std::unique_ptr<AffiliationFetcherDelegate::Result> fake_response(
new AffiliationFetcherDelegate::Result);
for (const auto& preset_equivalence_class : preset_equivalence_relation_) {
bool had_intersection_with_request = false;

Powered by Google App Engine
This is Rietveld 408576698