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

Unified Diff: net/dns/dns_test_util.cc

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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 | « net/dns/dns_test_util.h ('k') | net/dns/dns_transaction.cc » ('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 01acb346fa9d8f940a90543f49378e20e8e295d5..6327ed259539645c5a84b2a816717535cadf9b2f 100644
--- a/net/dns/dns_test_util.cc
+++ b/net/dns/dns_test_util.cc
@@ -27,7 +27,7 @@ class MockAddressSorter : public AddressSorter {
public:
virtual ~MockAddressSorter() {}
virtual void Sort(const AddressList& list,
- const CallbackType& callback) const OVERRIDE {
+ const CallbackType& callback) const override {
// Do nothing.
callback.Run(true, list);
}
@@ -60,15 +60,15 @@ class MockTransaction : public DnsTransaction,
}
}
- virtual const std::string& GetHostname() const OVERRIDE {
+ virtual const std::string& GetHostname() const override {
return hostname_;
}
- virtual uint16 GetType() const OVERRIDE {
+ virtual uint16 GetType() const override {
return qtype_;
}
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
EXPECT_FALSE(started_);
started_ = true;
if (delayed_)
@@ -172,7 +172,7 @@ class MockTransactionFactory : public DnsTransactionFactory {
const std::string& hostname,
uint16 qtype,
const DnsTransactionFactory::CallbackType& callback,
- const BoundNetLog&) OVERRIDE {
+ const BoundNetLog&) override {
MockTransaction* transaction =
new MockTransaction(rules_, hostname, qtype, callback);
if (transaction->delayed())
« no previous file with comments | « net/dns/dns_test_util.h ('k') | net/dns/dns_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698