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

Unified Diff: chrome/browser/autofill/autocheckout_whitelist_manager_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: chrome/browser/autofill/autocheckout_whitelist_manager_factory.h
diff --git a/chrome/browser/autofill/autocheckout_whitelist_manager_factory.h b/chrome/browser/autofill/autocheckout_whitelist_manager_factory.h
index 5b42fb118569a24a76e8e0420f4866418e5633eb..7fa08da77d4e8933cc8b6e5b9d154cd40e6d2299 100644
--- a/chrome/browser/autofill/autocheckout_whitelist_manager_factory.h
+++ b/chrome/browser/autofill/autocheckout_whitelist_manager_factory.h
@@ -19,7 +19,7 @@ class WhitelistManager;
// A wrapper of WhitelistManager so we can use it as a profiled
// keyed service. Exposed in header file only for tests.
-class WhitelistManagerService : public ProfileKeyedService {
+class WhitelistManagerService : public BrowserContextKeyedService {
public:
virtual WhitelistManager* GetWhitelistManager() = 0;
};
@@ -28,7 +28,7 @@ class WhitelistManagerService : public ProfileKeyedService {
// with Profiles.
// Listens for the Profile's destruction notification and cleans up the
// associated WhitelistManager.
-class WhitelistManagerFactory : public ProfileKeyedServiceFactory {
+class WhitelistManagerFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the WhitelistManager for |profile|, creating it if
// it is not yet created.
@@ -42,8 +42,8 @@ class WhitelistManagerFactory : public ProfileKeyedServiceFactory {
WhitelistManagerFactory();
virtual ~WhitelistManagerFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698