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

Unified Diff: chrome/browser/extensions/signin/gaia_auth_extension_loader.cc

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 10 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/signin/gaia_auth_extension_loader.cc
diff --git a/chrome/browser/extensions/signin/gaia_auth_extension_loader.cc b/chrome/browser/extensions/signin/gaia_auth_extension_loader.cc
index 6b88f54d6b0a17aca573019e0e92620f257bce32..a6e66e2ea7a28eea83f27f4e08f8a40467eb24a7 100644
--- a/chrome/browser/extensions/signin/gaia_auth_extension_loader.cc
+++ b/chrome/browser/extensions/signin/gaia_auth_extension_loader.cc
@@ -115,15 +115,15 @@ void GaiaAuthExtensionLoader::Shutdown() {
// static
GaiaAuthExtensionLoader* GaiaAuthExtensionLoader::Get(BrowserContext* context) {
- return ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>::GetForProfile(
- context);
+ return BrowserContextKeyedAPIFactory<GaiaAuthExtensionLoader>::Get(context);
}
-static base::LazyInstance<ProfileKeyedAPIFactory<GaiaAuthExtensionLoader> >
-g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<GaiaAuthExtensionLoader> > g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
-ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>*
+BrowserContextKeyedAPIFactory<GaiaAuthExtensionLoader>*
GaiaAuthExtensionLoader::GetFactoryInstance() {
return g_factory.Pointer();
}
« no previous file with comments | « chrome/browser/extensions/signin/gaia_auth_extension_loader.h ('k') | chrome/browser/feedback/feedback_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698