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

Unified Diff: google_apis/gaia/ubertoken_fetcher_unittest.cc

Issue 625293003: replace OVERRIDE and FINAL with override and final in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase on master 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 fe0035330db7f4896d1a92ab4c2f805a41a7523e..ad5a5b993f2b4931dee72f4cd23e11bd07eadd6f 100644
--- a/google_apis/gaia/ubertoken_fetcher_unittest.cc
+++ b/google_apis/gaia/ubertoken_fetcher_unittest.cc
@@ -26,13 +26,13 @@ class MockUbertokenConsumer : public UbertokenConsumer {
}
virtual ~MockUbertokenConsumer() {}
- virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE {
+ virtual void OnUbertokenSuccess(const std::string& token) override {
last_token_ = token;
++ nb_correct_token_;
}
virtual void OnUbertokenFailure(const GoogleServiceAuthError& error)
- OVERRIDE {
+ override {
last_error_ = error;
++nb_error_;
}
@@ -47,7 +47,7 @@ class MockUbertokenConsumer : public UbertokenConsumer {
class UbertokenFetcherTest : public testing::Test {
public:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
request_context_getter_ = new net::TestURLRequestContextGetter(
base::MessageLoopProxy::current());
fetcher_.reset(new UbertokenFetcher(&token_service_,
@@ -56,7 +56,7 @@ class UbertokenFetcherTest : public testing::Test {
request_context_getter_.get()));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
fetcher_.reset();
}
« 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