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

Unified Diff: chrome/browser/webdata/web_data_service_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: rebase & style 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/webdata/web_data_service_factory.h
diff --git a/chrome/browser/webdata/web_data_service_factory.h b/chrome/browser/webdata/web_data_service_factory.h
index 5d3d4a92e53fdf59153c7ce5164d1feddb2b2c3f..504e982b4e4b0fa8005b309c70e9cb23ca1b641d 100644
--- a/chrome/browser/webdata/web_data_service_factory.h
+++ b/chrome/browser/webdata/web_data_service_factory.h
@@ -20,7 +20,7 @@ class AutofillWebDataService;
} // namespace autofill
// A wrapper of WebDataService so that we can use it as a profile keyed service.
-class WebDataServiceWrapper : public ProfileKeyedService {
+class WebDataServiceWrapper : public BrowserContextKeyedService {
public:
explicit WebDataServiceWrapper(Profile* profile);
@@ -29,7 +29,7 @@ class WebDataServiceWrapper : public ProfileKeyedService {
virtual ~WebDataServiceWrapper();
- // ProfileKeyedService:
+ // BrowserContextKeyedService:
virtual void Shutdown() OVERRIDE;
virtual scoped_refptr<autofill::AutofillWebDataService> GetAutofillWebData();
@@ -47,7 +47,7 @@ class WebDataServiceWrapper : public ProfileKeyedService {
// Singleton that owns all WebDataServiceWrappers and associates them with
// Profiles.
-class WebDataServiceFactory : public ProfileKeyedServiceFactory {
+class WebDataServiceFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the |WebDataServiceWrapper| associated with the |profile|.
// |access_type| is either EXPLICIT_ACCESS or IMPLICIT_ACCESS
@@ -66,10 +66,10 @@ class WebDataServiceFactory : public ProfileKeyedServiceFactory {
WebDataServiceFactory();
virtual ~WebDataServiceFactory();
- // |ProfileKeyedBaseFactory| methods:
+ // |BrowserContextKeyedBaseFactory| methods:
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698