| Index: chrome/browser/extensions/api/identity/identity_api.h
|
| diff --git a/chrome/browser/extensions/api/identity/identity_api.h b/chrome/browser/extensions/api/identity/identity_api.h
|
| index 58adae66210b64cb572df25062a24562c94ab117..80cc01cb4ef4c658f63081ef3d8d5c9f961cb166 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_api.h
|
| +++ b/chrome/browser/extensions/api/identity/identity_api.h
|
| @@ -27,7 +27,6 @@
|
|
|
| class GoogleServiceAuthError;
|
| class MockGetAuthTokenFunction;
|
| -class Profile;
|
|
|
| #if defined(OS_CHROMEOS)
|
| namespace chromeos {
|
| @@ -35,6 +34,10 @@ class DeviceOAuth2TokenService;
|
| }
|
| #endif
|
|
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| class GetAuthTokenFunctionTest;
|
| @@ -256,7 +259,7 @@ class IdentityAPI : public ProfileKeyedAPI,
|
| public:
|
| typedef std::map<ExtensionTokenKey, IdentityTokenCacheValue> CachedTokens;
|
|
|
| - explicit IdentityAPI(Profile* profile);
|
| + explicit IdentityAPI(content::BrowserContext* context);
|
| virtual ~IdentityAPI();
|
|
|
| // Request serialization queue for getAuthToken.
|
| @@ -293,7 +296,7 @@ class IdentityAPI : public ProfileKeyedAPI,
|
| }
|
| static const bool kServiceIsNULLWhileTesting = true;
|
|
|
| - Profile* profile_;
|
| + content::BrowserContext* browser_context_;
|
| IdentityMintRequestQueue mint_queue_;
|
| CachedTokens token_cache_;
|
| AccountTracker account_tracker_;
|
|
|