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

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

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.h
diff --git a/chrome/browser/extensions/signin/gaia_auth_extension_loader.h b/chrome/browser/extensions/signin/gaia_auth_extension_loader.h
index e8f328ebc9207ca25ca4f574962d91aba1da6b53..6c6834e2dadd325d6b30cf786abfde00ac9f9fc7 100644
--- a/chrome/browser/extensions/signin/gaia_auth_extension_loader.h
+++ b/chrome/browser/extensions/signin/gaia_auth_extension_loader.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
namespace content {
class BrowserContext;
@@ -15,7 +15,7 @@ class BrowserContext;
namespace extensions {
// Manages and registers the gaia auth extension with the extension system.
-class GaiaAuthExtensionLoader : public ProfileKeyedAPI {
+class GaiaAuthExtensionLoader : public BrowserContextKeyedAPI {
public:
explicit GaiaAuthExtensionLoader(content::BrowserContext* context);
virtual ~GaiaAuthExtensionLoader();
@@ -27,16 +27,17 @@ class GaiaAuthExtensionLoader : public ProfileKeyedAPI {
static GaiaAuthExtensionLoader* Get(content::BrowserContext* context);
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<GaiaAuthExtensionLoader>*
+ GetFactoryInstance();
private:
- friend class ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>;
+ friend class BrowserContextKeyedAPIFactory<GaiaAuthExtensionLoader>;
// BrowserContextKeyedService overrides:
virtual void Shutdown() OVERRIDE;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "GaiaAuthExtensionLoader";
}
« no previous file with comments | « chrome/browser/extensions/plugin_manager.cc ('k') | chrome/browser/extensions/signin/gaia_auth_extension_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698