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. |