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

Unified Diff: components/webdata/common/web_data_results.h

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. 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 | « components/update_client/background_downloader_win.h ('k') | components/wifi/wifi_service_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/common/web_data_results.h
diff --git a/components/webdata/common/web_data_results.h b/components/webdata/common/web_data_results.h
index 6353db177a0823d42ff50463089fb0cb6e488c85..d6d07fd07c9a008e15fc66c4ffb748816df48e1f 100644
--- a/components/webdata/common/web_data_results.h
+++ b/components/webdata/common/web_data_results.h
@@ -67,7 +67,7 @@ template <class T> class WDResult : public WDTypedResult {
: WDTypedResult(type), value_(v) {
}
- virtual ~WDResult() {
+ ~WDResult() override {
}
// Return a single value result.
@@ -91,11 +91,10 @@ template <class T> class WDDestroyableResult : public WDResult<T> {
callback_(callback) {
}
- virtual ~WDDestroyableResult() {
+ ~WDDestroyableResult() override {
}
-
- virtual void Destroy() override {
+ void Destroy() override {
if (!callback_.is_null()) {
callback_.Run(this);
}
« no previous file with comments | « components/update_client/background_downloader_win.h ('k') | components/wifi/wifi_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698