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

Unified Diff: components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
Index: components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc
diff --git a/components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc b/components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc
index b76d7494e35cfb86d2eabb78ae0c8dc93414dc30..26b8447844932519f1df2aef27851bdc7c71529b 100644
--- a/components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc
+++ b/components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc
@@ -37,7 +37,7 @@ class MutableProfileOAuth2TokenServiceTest
start_batch_changes_(0),
end_batch_changes_(0) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
#if defined(OS_MACOSX)
OSCrypt::UseMockKeychain(true);
#endif
@@ -52,7 +52,7 @@ class MutableProfileOAuth2TokenServiceTest
oauth2_service_.AddObserver(this);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
oauth2_service_.RemoveObserver(this);
oauth2_service_.Shutdown();
}
@@ -65,19 +65,19 @@ class MutableProfileOAuth2TokenServiceTest
}
// OAuth2TokenService::Observer implementation.
- virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE {
+ virtual void OnRefreshTokenAvailable(const std::string& account_id) override {
++token_available_count_;
}
- virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE {
+ virtual void OnRefreshTokenRevoked(const std::string& account_id) override {
++token_revoked_count_;
}
- virtual void OnRefreshTokensLoaded() OVERRIDE { ++tokens_loaded_count_; }
+ virtual void OnRefreshTokensLoaded() override { ++tokens_loaded_count_; }
- virtual void OnStartBatchChanges() OVERRIDE {
+ virtual void OnStartBatchChanges() override {
++start_batch_changes_;
}
- virtual void OnEndBatchChanges() OVERRIDE {
+ virtual void OnEndBatchChanges() override {
++end_batch_changes_;
}

Powered by Google App Engine
This is Rietveld 408576698