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 5d8c9ebf9ef13f74165bacede9675d51f74cbee8..e8f328ebc9207ca25ca4f574962d91aba1da6b53 100644 |
--- a/chrome/browser/extensions/signin/gaia_auth_extension_loader.h |
+++ b/chrome/browser/extensions/signin/gaia_auth_extension_loader.h |
@@ -8,14 +8,16 @@ |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
-class Profile; |
+namespace content { |
+class BrowserContext; |
+} |
namespace extensions { |
// Manages and registers the gaia auth extension with the extension system. |
class GaiaAuthExtensionLoader : public ProfileKeyedAPI { |
public: |
- explicit GaiaAuthExtensionLoader(Profile* profile); |
+ explicit GaiaAuthExtensionLoader(content::BrowserContext* context); |
virtual ~GaiaAuthExtensionLoader(); |
// Load the gaia auth extension if the extension is not loaded yet. |
@@ -23,7 +25,7 @@ class GaiaAuthExtensionLoader : public ProfileKeyedAPI { |
// Unload the gaia auth extension if no pending reference. |
void UnloadIfNeeded(); |
- static GaiaAuthExtensionLoader* Get(Profile* profile); |
+ static GaiaAuthExtensionLoader* Get(content::BrowserContext* context); |
// ProfileKeyedAPI implementation. |
static ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>* GetFactoryInstance(); |
@@ -40,7 +42,7 @@ class GaiaAuthExtensionLoader : public ProfileKeyedAPI { |
} |
static const bool kServiceRedirectedInIncognito = true; |
- Profile* profile_; |
+ content::BrowserContext* browser_context_; |
int load_count_; |
DISALLOW_COPY_AND_ASSIGN(GaiaAuthExtensionLoader); |