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

Unified Diff: google_apis/gaia/gaia_oauth_client_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/gaia_oauth_client.cc ('k') | google_apis/gaia/identity_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_oauth_client_unittest.cc
diff --git a/google_apis/gaia/gaia_oauth_client_unittest.cc b/google_apis/gaia/gaia_oauth_client_unittest.cc
index 9e4bfdfad22ee035a8ffc2bbc2972076778b613b..a5509bee71ed787032745d76363debdfec5d6d4f 100644
--- a/google_apis/gaia/gaia_oauth_client_unittest.cc
+++ b/google_apis/gaia/gaia_oauth_client_unittest.cc
@@ -50,7 +50,7 @@ class MockOAuthFetcher : public net::TestURLFetcher {
virtual ~MockOAuthFetcher() { }
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
if ((GetResponseCode() != net::HTTP_OK) && (max_failure_count_ != -1) &&
(current_failure_count_ == max_failure_count_)) {
set_response_code(net::HTTP_OK);
@@ -92,7 +92,7 @@ class MockOAuthFetcherFactory : public net::URLFetcherFactory,
int id,
const GURL& url,
net::URLFetcher::RequestType request_type,
- net::URLFetcherDelegate* d) OVERRIDE {
+ net::URLFetcherDelegate* d) override {
url_fetcher_ = new MockOAuthFetcher(
response_code_,
max_failure_count_,
@@ -172,7 +172,7 @@ namespace gaia {
class GaiaOAuthClientTest : public testing::Test {
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
client_info_.client_id = "test_client_id";
client_info_.client_secret = "test_client_secret";
client_info_.redirect_uri = "test_redirect_uri";
@@ -214,14 +214,14 @@ class MockGaiaOAuthClientDelegate : public gaia::GaiaOAuthClient::Delegate {
MOCK_METHOD1(OnGetUserInfoResponsePtr,
void(const base::DictionaryValue* user_info));
virtual void OnGetUserInfoResponse(
- scoped_ptr<base::DictionaryValue> user_info) OVERRIDE {
+ scoped_ptr<base::DictionaryValue> user_info) override {
user_info_.reset(user_info.release());
OnGetUserInfoResponsePtr(user_info_.get());
}
MOCK_METHOD1(OnGetTokenInfoResponsePtr,
void(const base::DictionaryValue* token_info));
virtual void OnGetTokenInfoResponse(
- scoped_ptr<base::DictionaryValue> token_info) OVERRIDE {
+ scoped_ptr<base::DictionaryValue> token_info) override {
token_info_.reset(token_info.release());
OnGetTokenInfoResponsePtr(token_info_.get());
}
« no previous file with comments | « google_apis/gaia/gaia_oauth_client.cc ('k') | google_apis/gaia/identity_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698