Chromium Code Reviews| 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 a9a77468e158574d441be3bd50a75ced4377fb1d..d6157d9b61300f09c6d1863cc620f5354125f927 100644 |
| --- a/chrome/browser/extensions/api/identity/identity_api.h |
| +++ b/chrome/browser/extensions/api/identity/identity_api.h |
| @@ -29,6 +29,12 @@ class GoogleServiceAuthError; |
| class MockGetAuthTokenFunction; |
| class Profile; |
| +#if defined(OS_CHROMEOS) |
|
pneubeck (no reviews)
2013/10/22 09:05:03
nit: if-defined not strictly necessary
satorux1
2013/10/22 09:56:43
Probably it's a good idea to have #ifdef to make i
|
| +namespace chromeos { |
| +class DeviceOAuth2TokenService; |
| +} |
| +#endif |
| + |
| namespace extensions { |
| class GetAuthTokenFunctionTest; |
| @@ -134,6 +140,9 @@ class IdentityGetAuthTokenFunction : public AsyncExtensionFunction, |
| // Starts a login access token request for device robot account. This method |
| // will be called only in enterprise kiosk mode in ChromeOS. |
| virtual void StartDeviceLoginAccessTokenRequest(); |
| + |
| + // Continuation of StartDeviceLoginAccessTokenRequest(). |
| + virtual void DidGetTokenService(chromeos::DeviceOAuth2TokenService* service); |
| #endif |
| // Starts a mint token request to GAIA. |