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

Unified Diff: google_apis/gaia/oauth2_token_service_request_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/oauth2_token_service_request.cc ('k') | google_apis/gaia/oauth2_token_service_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/oauth2_token_service_request_unittest.cc
diff --git a/google_apis/gaia/oauth2_token_service_request_unittest.cc b/google_apis/gaia/oauth2_token_service_request_unittest.cc
index c2683a83edae6aa4f139f81876c5e4e44162acea..0cb08d33fb9a695a7bd133833287fe85967d077f 100644
--- a/google_apis/gaia/oauth2_token_service_request_unittest.cc
+++ b/google_apis/gaia/oauth2_token_service_request_unittest.cc
@@ -26,9 +26,9 @@ class TestingOAuth2TokenServiceConsumer : public OAuth2TokenService::Consumer {
virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request,
const std::string& access_token,
- const base::Time& expiration_time) OVERRIDE;
+ const base::Time& expiration_time) override;
virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request,
- const GoogleServiceAuthError& error) OVERRIDE;
+ const GoogleServiceAuthError& error) override;
int num_get_token_success_;
int num_get_token_failure_;
@@ -85,12 +85,12 @@ class MockOAuth2TokenService : public FakeOAuth2TokenService {
net::URLRequestContextGetter* getter,
const std::string& client_id,
const std::string& client_secret,
- const ScopeSet& scopes) OVERRIDE;
+ const ScopeSet& scopes) override;
virtual void InvalidateOAuth2Token(const std::string& account_id,
const std::string& client_id,
const ScopeSet& scopes,
- const std::string& access_token) OVERRIDE;
+ const std::string& access_token) override;
private:
GoogleServiceAuthError response_error_;
@@ -145,8 +145,8 @@ void MockOAuth2TokenService::InvalidateOAuth2Token(
class OAuth2TokenServiceRequestTest : public testing::Test {
public:
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
+ virtual void SetUp() override;
+ virtual void TearDown() override;
protected:
class Provider : public OAuth2TokenServiceRequest::TokenServiceProvider {
@@ -155,8 +155,8 @@ class OAuth2TokenServiceRequestTest : public testing::Test {
OAuth2TokenService* token_service);
virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetTokenServiceTaskRunner() OVERRIDE;
- virtual OAuth2TokenService* GetTokenService() OVERRIDE;
+ GetTokenServiceTaskRunner() override;
+ virtual OAuth2TokenService* GetTokenService() override;
private:
virtual ~Provider();
« no previous file with comments | « google_apis/gaia/oauth2_token_service_request.cc ('k') | google_apis/gaia/oauth2_token_service_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698