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

Unified Diff: chrome/browser/search_engines/template_url_fetcher_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/search_engines/template_url_fetcher_factory.h
diff --git a/chrome/browser/search_engines/template_url_fetcher_factory.h b/chrome/browser/search_engines/template_url_fetcher_factory.h
index 7d19505cff64b2921b11d8b53bbf9ac4faac484a..7c8174cddcfcdbc5cdcbc0b66fc64b4a1020ea57 100644
--- a/chrome/browser/search_engines/template_url_fetcher_factory.h
+++ b/chrome/browser/search_engines/template_url_fetcher_factory.h
@@ -13,7 +13,7 @@ class TemplateURLFetcher;
// Singleton that owns all TemplateURLFetcher and associates them with
// Profiles.
-class TemplateURLFetcherFactory : public ProfileKeyedServiceFactory {
+class TemplateURLFetcherFactory : public BrowserContextKeyedServiceFactory {
public:
static TemplateURLFetcher* GetForProfile(Profile* profile);
@@ -30,8 +30,8 @@ class TemplateURLFetcherFactory : public ProfileKeyedServiceFactory {
TemplateURLFetcherFactory();
virtual ~TemplateURLFetcherFactory();
- // 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