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

Unified Diff: chrome/browser/extensions/token_cache/token_cache_service.h

Issue 197413002: Move extensions-related files to using //components/keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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.h
diff --git a/chrome/browser/extensions/token_cache/token_cache_service.h b/chrome/browser/extensions/token_cache/token_cache_service.h
index 7b7561f8c5cfb6ca3d109d6214a5db6818344df2..dcda11125cf7921f0d5584501e8272fae3ee4a84 100644
--- a/chrome/browser/extensions/token_cache/token_cache_service.h
+++ b/chrome/browser/extensions/token_cache/token_cache_service.h
@@ -12,7 +12,7 @@
#include "base/compiler_specific.h"
#include "base/time/time.h"
#include "chrome/browser/signin/signin_manager_base.h"
-#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
+#include "components/keyed_service/core/keyed_service.h"
class Profile;
@@ -21,7 +21,7 @@ namespace extensions {
// This class caches tokens for the current user. It will clear tokens out
// when the user logs out or after the specified timeout interval, or when
// the instance of chrome shuts down.
-class TokenCacheService : public BrowserContextKeyedService,
+class TokenCacheService : public KeyedService,
public SigninManagerBase::Observer {
public:
explicit TokenCacheService(Profile* profile);
@@ -38,7 +38,7 @@ class TokenCacheService : public BrowserContextKeyedService,
// string if the token was not found or timed out.
std::string RetrieveToken(const std::string& token_name);
- // BrowserContextKeyedService:
+ // KeyedService:
virtual void Shutdown() OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698