SigninManager* signin_manager,
scoped_refptr<net::URLRequestContextGetter> system_request_context,
ProfileOAuth2TokenService* oauth2_token_service);
- virtual ~UserPolicySigninService();
+ ~UserPolicySigninService() override;
// Registers a CloudPolicyClient for fetching policy for a user. The
// |oauth2_login_token| and |username| are explicitly passed because
const PolicyRegistrationCallback& callback);
// OAuth2TokenService::Observer implementation:
- virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE;
+ void OnRefreshTokenAvailable(const std::string& account_id) override;
// CloudPolicyService::Observer implementation:
- virtual void OnInitializationCompleted(CloudPolicyService* service) OVERRIDE;
+ void OnInitializationCompleted(CloudPolicyService* service) override;
// KeyedService implementation:
- virtual void Shutdown() OVERRIDE;
+ void Shutdown() override;
protected:
// UserPolicySigninServiceBase implementation:
- virtual void InitializeUserCloudPolicyManager(
+ void InitializeUserCloudPolicyManager(
const std::string& username,
- scoped_ptr<CloudPolicyClient> client) OVERRIDE;
+ scoped_ptr<CloudPolicyClient> client) override;
- virtual void PrepareForUserCloudPolicyManagerShutdown() OVERRIDE;
- virtual void ShutdownUserCloudPolicyManager() OVERRIDE;
+ void PrepareForUserCloudPolicyManagerShutdown() override;
+ void ShutdownUserCloudPolicyManager() override;
private:
// Fetches an OAuth token to allow the cloud policy service to register with