| Index: components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc
|
| diff --git a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc
|
| index 46ddb17571a5214ecd1bb5bbc68f254bc16b8e0b..9a5b103691ffd4c50dcd0750d9d79008c10c0a71 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc
|
| +++ b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc
|
| @@ -44,11 +44,11 @@ class CloudPolicyClientRegistrationHelper::TokenServiceHelper
|
|
|
| private:
|
| // OAuth2TokenService::Consumer implementation:
|
| - virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request,
|
| - const std::string& access_token,
|
| - const base::Time& expiration_time) override;
|
| - virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request,
|
| - const GoogleServiceAuthError& error) override;
|
| + void OnGetTokenSuccess(const OAuth2TokenService::Request* request,
|
| + const std::string& access_token,
|
| + const base::Time& expiration_time) override;
|
| + void OnGetTokenFailure(const OAuth2TokenService::Request* request,
|
| + const GoogleServiceAuthError& error) override;
|
|
|
| StringCallback callback_;
|
| scoped_ptr<OAuth2TokenService::Request> token_request_;
|
| @@ -107,10 +107,9 @@ class CloudPolicyClientRegistrationHelper::LoginTokenHelper
|
|
|
| private:
|
| // OAuth2AccessTokenConsumer implementation:
|
| - virtual void OnGetTokenSuccess(const std::string& access_token,
|
| - const base::Time& expiration_time) override;
|
| - virtual void OnGetTokenFailure(
|
| - const GoogleServiceAuthError& error) override;
|
| + void OnGetTokenSuccess(const std::string& access_token,
|
| + const base::Time& expiration_time) override;
|
| + void OnGetTokenFailure(const GoogleServiceAuthError& error) override;
|
|
|
| StringCallback callback_;
|
| scoped_ptr<OAuth2AccessTokenFetcher> oauth2_access_token_fetcher_;
|
|
|