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

Unified Diff: chrome/browser/extensions/api/identity/identity_api.h

Issue 34523003: settings: Make DeviceOAuth2TokenServiceFactory::Get() async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/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.

Powered by Google App Engine
This is Rietveld 408576698