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

Unified Diff: chrome/browser/extensions/token_cache/token_cache_service_factory.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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.cc
diff --git a/chrome/browser/extensions/token_cache/token_cache_service_factory.cc b/chrome/browser/extensions/token_cache/token_cache_service_factory.cc
index ca0ffb7f04c02f150bf9823c076d2f3d003cb2d7..5fbe1320eec53a389a9dd9be4f4f4354f0813e85 100644
--- a/chrome/browser/extensions/token_cache/token_cache_service_factory.cc
+++ b/chrome/browser/extensions/token_cache/token_cache_service_factory.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/extensions/token_cache/token_cache_service.h"
+#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_dependency_manager.h"
// static
@@ -29,6 +30,6 @@ TokenCacheServiceFactory::~TokenCacheServiceFactory() {
}
ProfileKeyedService* TokenCacheServiceFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new extensions::TokenCacheService(profile);
+ content::BrowserContext* profile) const {
+ return new extensions::TokenCacheService(static_cast<Profile*>(profile));
}
« no previous file with comments | « chrome/browser/extensions/token_cache/token_cache_service_factory.h ('k') | chrome/browser/favicon/favicon_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698