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

Unified Diff: net/dns/dns_test_util.cc

Issue 1088903008: Update {virtual,override} to follow C++11 style in net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an override. 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 | « net/disk_cache/blockfile/sparse_control_v3.cc ('k') | net/dns/mock_mdns_socket_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_test_util.cc
diff --git a/net/dns/dns_test_util.cc b/net/dns/dns_test_util.cc
index aee3ba743b3b58715bc03e9404deb5aa7e92c32a..30e3d2e7a6b0d1860fb396902e228109aa9ee394 100644
--- a/net/dns/dns_test_util.cc
+++ b/net/dns/dns_test_util.cc
@@ -60,15 +60,11 @@ class MockTransaction : public DnsTransaction,
}
}
- virtual const std::string& GetHostname() const override {
- return hostname_;
- }
+ const std::string& GetHostname() const override { return hostname_; }
- virtual uint16 GetType() const override {
- return qtype_;
- }
+ uint16 GetType() const override { return qtype_; }
- virtual void Start() override {
+ void Start() override {
EXPECT_FALSE(started_);
started_ = true;
if (delayed_)
« no previous file with comments | « net/disk_cache/blockfile/sparse_control_v3.cc ('k') | net/dns/mock_mdns_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698