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

Unified Diff: components/password_manager/core/browser/fake_affiliation_fetcher.h

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_fetcher.h
diff --git a/components/password_manager/core/browser/fake_affiliation_fetcher.h b/components/password_manager/core/browser/fake_affiliation_fetcher.h
index bcebcc44fedcd7328bb3d48c12d324bf4fd82a59..d2a503702df575e89de759993299fadbbb71305b 100644
--- a/components/password_manager/core/browser/fake_affiliation_fetcher.h
+++ b/components/password_manager/core/browser/fake_affiliation_fetcher.h
@@ -5,10 +5,10 @@
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_FAKE_AFFILIATION_FETCHER_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_FAKE_AFFILIATION_FETCHER_H_
+#include <memory>
#include <queue>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/password_manager/core/browser/affiliation_fetcher.h"
#include "components/password_manager/core/browser/affiliation_fetcher_delegate.h"
#include "components/password_manager/core/browser/test_affiliation_fetcher_factory.h"
@@ -27,7 +27,7 @@ class FakeAffiliationFetcher : public AffiliationFetcher {
// Simulates successful completion of the request with |fake_result|. Note
// that the consumer may choose to destroy |this| from within this call.
void SimulateSuccess(
- scoped_ptr<AffiliationFetcherDelegate::Result> fake_result);
+ std::unique_ptr<AffiliationFetcherDelegate::Result> fake_result);
// Simulates completion of the request with failure. Note that the consumer
// may choose to destroy |this| from within this call.

Powered by Google App Engine
This is Rietveld 408576698