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

Unified Diff: google_apis/drive/request_sender_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/drive/gdata_wapi_requests_unittest.cc ('k') | google_apis/gaia/account_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/request_sender_unittest.cc
diff --git a/google_apis/drive/request_sender_unittest.cc b/google_apis/drive/request_sender_unittest.cc
index 5ac58f3ff7e655854ce8b7d7896d1efb49e8c371..7771164ad869ee109b7f2f7d1a121f436f45ddc0 100644
--- a/google_apis/drive/request_sender_unittest.cc
+++ b/google_apis/drive/request_sender_unittest.cc
@@ -32,7 +32,7 @@ class TestAuthService : public DummyAuthService {
TestAuthService() : auth_try_count_(0) {}
virtual void StartAuthentication(
- const AuthStatusCallback& callback) OVERRIDE {
+ const AuthStatusCallback& callback) override {
// RequestSender should clear the rejected access token before starting
// to request another one.
EXPECT_FALSE(HasAccessToken());
@@ -97,7 +97,7 @@ class TestRequest : public AuthenticatedRequestInterface {
virtual void Start(const std::string& access_token,
const std::string& custom_user_agent,
- const ReAuthenticateCallback& callback) OVERRIDE {
+ const ReAuthenticateCallback& callback) override {
*start_called_ = true;
passed_access_token_ = access_token;
passed_reauth_callback_ = callback;
@@ -106,18 +106,18 @@ class TestRequest : public AuthenticatedRequestInterface {
// Each test case should respond properly by using the above methods.
}
- virtual void Cancel() OVERRIDE {
+ virtual void Cancel() override {
EXPECT_TRUE(*start_called_);
*finish_reason_ = CANCEL;
sender_->RequestFinished(this);
}
- virtual void OnAuthFailed(GDataErrorCode code) OVERRIDE {
+ virtual void OnAuthFailed(GDataErrorCode code) override {
*finish_reason_ = AUTH_FAILURE;
sender_->RequestFinished(this);
}
- virtual base::WeakPtr<AuthenticatedRequestInterface> GetWeakPtr() OVERRIDE {
+ virtual base::WeakPtr<AuthenticatedRequestInterface> GetWeakPtr() override {
return weak_ptr_factory_.GetWeakPtr();
}
« no previous file with comments | « google_apis/drive/gdata_wapi_requests_unittest.cc ('k') | google_apis/gaia/account_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698