Index: chrome/browser/search_engines/template_url_service_factory.h |
diff --git a/chrome/browser/search_engines/template_url_service_factory.h b/chrome/browser/search_engines/template_url_service_factory.h |
index 13bd98b6616b29ef9f0c1a636d8688432d7d31ec..f4bbb7e622e0d3008087e8b9184ea287c4a7541b 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory.h |
+++ b/chrome/browser/search_engines/template_url_service_factory.h |
@@ -20,7 +20,8 @@ class TemplateURLServiceFactory : public ProfileKeyedServiceFactory { |
static TemplateURLServiceFactory* GetInstance(); |
- static ProfileKeyedService* BuildInstanceFor(Profile* profile); |
+ static ProfileKeyedService* BuildInstanceFor( |
+ content::BrowserContext* profile); |
private: |
friend struct DefaultSingletonTraits<TemplateURLServiceFactory>; |
@@ -30,12 +31,12 @@ class TemplateURLServiceFactory : public ProfileKeyedServiceFactory { |
// ProfileKeyedServiceFactory: |
virtual ProfileKeyedService* BuildServiceInstanceFor( |
- Profile* profile) const OVERRIDE; |
+ content::BrowserContext* profile) const OVERRIDE; |
virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) OVERRIDE; |
virtual bool ServiceRedirectedInIncognito() const OVERRIDE; |
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; |
- virtual void ProfileShutdown(Profile* profile) OVERRIDE; |
- virtual void ProfileDestroyed(Profile* profile) OVERRIDE; |
+ virtual void ProfileShutdown(content::BrowserContext* profile) OVERRIDE; |
+ virtual void ProfileDestroyed(content::BrowserContext* profile) OVERRIDE; |
}; |
#endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_FACTORY_H_ |