Chromium Code Reviews| Index: chrome/browser/policy/cloud/cloud_policy_client_registration_helper.h |
| diff --git a/chrome/browser/policy/cloud/cloud_policy_client_registration_helper.h b/chrome/browser/policy/cloud/cloud_policy_client_registration_helper.h |
| index cb26ed5d632b0ff14042e88b89e1609ab22593c3..664fec0f4e9396c8223a882fa9107c6b78e64858 100644 |
| --- a/chrome/browser/policy/cloud/cloud_policy_client_registration_helper.h |
| +++ b/chrome/browser/policy/cloud/cloud_policy_client_registration_helper.h |
| @@ -15,7 +15,6 @@ |
| #include "chrome/browser/policy/cloud/user_info_fetcher.h" |
| #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" |
| -class AndroidProfileOAuth2TokenService; |
| class OAuth2TokenService; |
| namespace net { |
| @@ -46,14 +45,7 @@ class CloudPolicyClientRegistrationHelper : public UserInfoFetcher::Delegate, |
| // and DM services, using the |username| account. |
| // |callback| is invoked when the registration is complete. |
| void StartRegistration( |
| -#if defined(OS_ANDROID) |
| - // TODO(atwilson): Remove this when the Android StartRequestForUsername() |
| - // API is folded into the base OAuth2TokenService class (when that class |
| - // is made multi-account aware). |
| - AndroidProfileOAuth2TokenService* token_service, |
|
Andrew T Wilson (Slow)
2013/09/03 14:04:24
yay
fgorski
2013/09/03 20:50:40
Done.
|
| -#else |
| OAuth2TokenService* token_service, |
| -#endif |
| const std::string& username, |
| const base::Closure& callback); |