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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client_registration_helper.h

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
diff --git a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
index 9b7e464b46778baa5ac08b0d6f7128bfb7f50d44..65410048101832c02892b01962a269dc5040370f 100644
--- a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
+++ b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.h
@@ -48,7 +48,7 @@ class POLICY_EXPORT CloudPolicyClientRegistrationHelper
const std::string& account_id,
const base::Closure& callback);
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
// Starts the client registration process. The |login_refresh_token| is used
// to mint a new token for the userinfo and DM services.
// |callback| is invoked when the registration is complete.
@@ -67,7 +67,7 @@ class POLICY_EXPORT CloudPolicyClientRegistrationHelper
private:
class TokenServiceHelper;
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
class LoginTokenHelper;
#endif
@@ -91,7 +91,7 @@ class POLICY_EXPORT CloudPolicyClientRegistrationHelper
// signin is complete.
scoped_ptr<TokenServiceHelper> token_service_helper_;
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
// Special desktop-only helper to fetch an OAuth access token prior to
// the completion of signin. Not used on Android since all token fetching
// is done via OAuth2TokenService.

Powered by Google App Engine
This is Rietveld 408576698