OAuthClient(
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter);
- virtual ~OAuthClient();
+ ~OAuthClient() override;
// Redeems |auth_code| using |oauth_client_info| to obtain |refresh_token| and
// |access_token|, then uses the userinfo endpoint to obtain |user_email|.
CompletionCallback on_done);
// gaia::GaiaOAuthClient::Delegate
- virtual void OnGetTokensResponse(const std::string& refresh_token,
- const std::string& access_token,
- int expires_in_seconds) OVERRIDE;
- virtual void OnRefreshTokenResponse(const std::string& access_token,
- int expires_in_seconds) OVERRIDE;
- virtual void OnGetUserEmailResponse(const std::string& user_email) OVERRIDE;
-
- virtual void OnOAuthError() OVERRIDE;
- virtual void OnNetworkError(int response_code) OVERRIDE;
+ void OnGetTokensResponse(const std::string& refresh_token,
+ const std::string& access_token,
+ int expires_in_seconds) override;
+ void OnRefreshTokenResponse(const std::string& access_token,
+ int expires_in_seconds) override;
+ void OnGetUserEmailResponse(const std::string& user_email) override;
+
+ void OnOAuthError() override;
+ void OnNetworkError(int response_code) override;
private:
struct Request {