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

Unified Diff: google_apis/drive/drive_api_requests.h

Issue 1086453003: Update {virtual,override} to follow C++11 style in google_apis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | google_apis/gaia/gaia_oauth_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_requests.h
diff --git a/google_apis/drive/drive_api_requests.h b/google_apis/drive/drive_api_requests.h
index 0c587ece2f2a1c695f9aa24089cb5c20576f9d7a..3aaee366c830378d9dae91fdac2b54c6e6e98a71 100644
--- a/google_apis/drive/drive_api_requests.h
+++ b/google_apis/drive/drive_api_requests.h
@@ -113,11 +113,11 @@ class DriveApiDataRequest : public DriveApiPartialFieldRequest {
weak_ptr_factory_(this) {
DCHECK(!callback_.is_null());
}
- virtual ~DriveApiDataRequest() {}
+ ~DriveApiDataRequest() override {}
protected:
// UrlFetchRequestBase overrides.
- virtual void ProcessURLFetchResults(const net::URLFetcher* source) override {
+ void ProcessURLFetchResults(const net::URLFetcher* source) override {
DriveApiErrorCode error = GetErrorCode();
switch (error) {
case HTTP_SUCCESS:
@@ -136,7 +136,7 @@ class DriveApiDataRequest : public DriveApiPartialFieldRequest {
}
}
- virtual void RunCallbackOnPrematureFailure(DriveApiErrorCode error) override {
+ void RunCallbackOnPrematureFailure(DriveApiErrorCode error) override {
callback_.Run(error, scoped_ptr<DataType>());
}
« no previous file with comments | « no previous file | google_apis/gaia/gaia_oauth_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698