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

Unified Diff: chrome/browser/extensions/token_cache/token_cache_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/extensions/token_cache/token_cache_service_factory.h
diff --git a/chrome/browser/extensions/token_cache/token_cache_service_factory.h b/chrome/browser/extensions/token_cache/token_cache_service_factory.h
index c1beeda5e97c80f93c5102d3a53be0390c6a58b8..3767fe3cfbedcab87bfc7f190ea652f2aa443317 100644
--- a/chrome/browser/extensions/token_cache/token_cache_service_factory.h
+++ b/chrome/browser/extensions/token_cache/token_cache_service_factory.h
@@ -15,7 +15,7 @@ namespace extensions {
class TokenCacheService;
} // namespace extensions
-class TokenCacheServiceFactory : public ProfileKeyedServiceFactory {
+class TokenCacheServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static extensions::TokenCacheService* GetForProfile(Profile* profile);
static TokenCacheServiceFactory* GetInstance();
@@ -26,8 +26,8 @@ class TokenCacheServiceFactory : public ProfileKeyedServiceFactory {
friend struct DefaultSingletonTraits<TokenCacheServiceFactory>;
- // Inherited from ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // Inherited from BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(TokenCacheServiceFactory);

Powered by Google App Engine
This is Rietveld 408576698