Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1052)

Unified Diff: google_apis/drive/auth_service.h

Issue 649283003: Standardize usage of virtual/override/final in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | google_apis/drive/auth_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/auth_service.h
diff --git a/google_apis/drive/auth_service.h b/google_apis/drive/auth_service.h
index 2c74ad1768ce1cdd763b683dbe9b76583e3fe202..381abebc51750bbcdd17cea9d53f749a2d18a918 100644
--- a/google_apis/drive/auth_service.h
+++ b/google_apis/drive/auth_service.h
@@ -37,21 +37,21 @@ class AuthService : public AuthServiceInterface,
const std::string& account_id,
net::URLRequestContextGetter* url_request_context_getter,
const std::vector<std::string>& scopes);
- virtual ~AuthService();
+ ~AuthService() override;
// Overriden from AuthServiceInterface:
- virtual void AddObserver(AuthServiceObserver* observer) override;
- virtual void RemoveObserver(AuthServiceObserver* observer) override;
- virtual void StartAuthentication(const AuthStatusCallback& callback) override;
- virtual bool HasAccessToken() const override;
- virtual bool HasRefreshToken() const override;
- virtual const std::string& access_token() const override;
- virtual void ClearAccessToken() override;
- virtual void ClearRefreshToken() override;
+ void AddObserver(AuthServiceObserver* observer) override;
+ void RemoveObserver(AuthServiceObserver* observer) override;
+ void StartAuthentication(const AuthStatusCallback& callback) override;
+ bool HasAccessToken() const override;
+ bool HasRefreshToken() const override;
+ const std::string& access_token() const override;
+ void ClearAccessToken() override;
+ void ClearRefreshToken() override;
// Overridden from OAuth2TokenService::Observer:
- virtual void OnRefreshTokenAvailable(const std::string& account_id) override;
- virtual void OnRefreshTokenRevoked(const std::string& account_id) override;
+ void OnRefreshTokenAvailable(const std::string& account_id) override;
+ void OnRefreshTokenRevoked(const std::string& account_id) override;
private:
// Called when the state of the refresh token changes.
« no previous file with comments | « no previous file | google_apis/drive/auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698