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

Unified Diff: net/dns/dns_transaction_unittest.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_transaction.cc ('k') | net/dns/host_resolver_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_transaction_unittest.cc
diff --git a/net/dns/dns_transaction_unittest.cc b/net/dns/dns_transaction_unittest.cc
index af073ac2437231b17fee1aa55cf58f5a9bd0afb9..908f915f558b71d4889254b853f471a61ac73efa 100644
--- a/net/dns/dns_transaction_unittest.cc
+++ b/net/dns/dns_transaction_unittest.cc
@@ -153,7 +153,7 @@ class FailingUDPClientSocket : public MockUDPClientSocket {
: MockUDPClientSocket(data, net_log) {
}
virtual ~FailingUDPClientSocket() {}
- virtual int Connect(const IPEndPoint& endpoint) OVERRIDE {
+ virtual int Connect(const IPEndPoint& endpoint) override {
return ERR_CONNECTION_REFUSED;
}
@@ -170,7 +170,7 @@ class TestUDPClientSocket : public MockUDPClientSocket {
: MockUDPClientSocket(data, net_log), factory_(factory) {
}
virtual ~TestUDPClientSocket() {}
- virtual int Connect(const IPEndPoint& endpoint) OVERRIDE;
+ virtual int Connect(const IPEndPoint& endpoint) override;
private:
TestSocketFactory* factory_;
@@ -188,7 +188,7 @@ class TestSocketFactory : public MockClientSocketFactory {
DatagramSocket::BindType bind_type,
const RandIntCallback& rand_int_cb,
net::NetLog* net_log,
- const net::NetLog::Source& source) OVERRIDE {
+ const net::NetLog::Source& source) override {
if (fail_next_socket_) {
fail_next_socket_ = false;
return scoped_ptr<DatagramClientSocket>(
@@ -441,7 +441,7 @@ class DnsTransactionTest : public testing::Test {
}
}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
// By default set one server,
ConfigureNumServers(1);
// and no retransmissions,
@@ -451,7 +451,7 @@ class DnsTransactionTest : public testing::Test {
ConfigureFactory();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
// Check that all socket data was at least written to.
for (size_t i = 0; i < socket_data_.size(); ++i) {
EXPECT_TRUE(socket_data_[i]->was_written()) << i;
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/dns/host_resolver_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698