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

Unified Diff: google_apis/gaia/ubertoken_fetcher_unittest.cc

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 | « google_apis/gaia/ubertoken_fetcher.h ('k') | google_apis/gcm/base/fake_encryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/ubertoken_fetcher_unittest.cc
diff --git a/google_apis/gaia/ubertoken_fetcher_unittest.cc b/google_apis/gaia/ubertoken_fetcher_unittest.cc
index ad5a5b993f2b4931dee72f4cd23e11bd07eadd6f..6659cca250e0bf498d8a8d4466bd2a8e2352e9a6 100644
--- a/google_apis/gaia/ubertoken_fetcher_unittest.cc
+++ b/google_apis/gaia/ubertoken_fetcher_unittest.cc
@@ -24,15 +24,14 @@ class MockUbertokenConsumer : public UbertokenConsumer {
last_error_(GoogleServiceAuthError::AuthErrorNone()),
nb_error_(0) {
}
- virtual ~MockUbertokenConsumer() {}
+ ~MockUbertokenConsumer() override {}
- virtual void OnUbertokenSuccess(const std::string& token) override {
+ void OnUbertokenSuccess(const std::string& token) override {
last_token_ = token;
++ nb_correct_token_;
}
- virtual void OnUbertokenFailure(const GoogleServiceAuthError& error)
- override {
+ void OnUbertokenFailure(const GoogleServiceAuthError& error) override {
last_error_ = error;
++nb_error_;
}
« no previous file with comments | « google_apis/gaia/ubertoken_fetcher.h ('k') | google_apis/gcm/base/fake_encryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698