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

Unified Diff: net/dns/dns_config_service_posix.cc

Issue 10825437: net: Fix more clang warnings about missing virtual and OVERRIDE annotations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « net/disk_cache/sparse_control.cc ('k') | net/ocsp/nss_ocsp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_config_service_posix.cc
diff --git a/net/dns/dns_config_service_posix.cc b/net/dns/dns_config_service_posix.cc
index 70a277e75b9776e2389c08c56fdc16ed5b3abda6..cd57b447649c325d8bba8bcba7926e36b9480806 100644
--- a/net/dns/dns_config_service_posix.cc
+++ b/net/dns/dns_config_service_posix.cc
@@ -71,7 +71,7 @@ class ConfigReader : public SerialWorker {
explicit ConfigReader(const CallbackType& callback)
: callback_(callback), success_(false) {}
- void DoWork() OVERRIDE {
+ virtual void DoWork() OVERRIDE {
base::TimeTicks start_time = base::TimeTicks::Now();
ConfigParsePosixResult result = ReadDnsConfig(&dns_config_);
success_ = (result == CONFIG_PARSE_POSIX_OK);
@@ -82,7 +82,7 @@ class ConfigReader : public SerialWorker {
base::TimeTicks::Now() - start_time);
}
- void OnWorkFinished() OVERRIDE {
+ virtual void OnWorkFinished() OVERRIDE {
DCHECK(!IsCancelled());
if (success_) {
callback_.Run(dns_config_);
« no previous file with comments | « net/disk_cache/sparse_control.cc ('k') | net/ocsp/nss_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698