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

Unified Diff: net/socket/unix_domain_listen_socket_posix_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/socket/unix_domain_listen_socket_posix.h ('k') | net/socket/unix_domain_server_socket_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/unix_domain_listen_socket_posix_unittest.cc
diff --git a/net/socket/unix_domain_listen_socket_posix_unittest.cc b/net/socket/unix_domain_listen_socket_posix_unittest.cc
index 117c5c5da4eb16e8deda662d88b9c86bffd9292e..bea60c6261aa07c773c05a7a931cc5f28af64ef7 100644
--- a/net/socket/unix_domain_listen_socket_posix_unittest.cc
+++ b/net/socket/unix_domain_listen_socket_posix_unittest.cc
@@ -95,7 +95,7 @@ class TestListenSocketDelegate : public StreamListenSocket::Delegate {
: event_manager_(event_manager) {}
virtual void DidAccept(StreamListenSocket* server,
- scoped_ptr<StreamListenSocket> connection) OVERRIDE {
+ scoped_ptr<StreamListenSocket> connection) override {
LOG(ERROR) << __PRETTY_FUNCTION__;
connection_ = connection.Pass();
Notify(EVENT_ACCEPT);
@@ -103,7 +103,7 @@ class TestListenSocketDelegate : public StreamListenSocket::Delegate {
virtual void DidRead(StreamListenSocket* connection,
const char* data,
- int len) OVERRIDE {
+ int len) override {
{
base::AutoLock lock(mutex_);
DCHECK(len);
@@ -112,7 +112,7 @@ class TestListenSocketDelegate : public StreamListenSocket::Delegate {
Notify(EVENT_READ);
}
- virtual void DidClose(StreamListenSocket* sock) OVERRIDE {
+ virtual void DidClose(StreamListenSocket* sock) override {
Notify(EVENT_CLOSE);
}
@@ -169,12 +169,12 @@ class UnixDomainListenSocketTestHelper : public testing::Test {
return temp_dir_.path().Append(socket_name);
}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
event_manager_ = new EventManager();
socket_delegate_.reset(new TestListenSocketDelegate(event_manager_));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
socket_.reset();
socket_delegate_.reset();
event_manager_ = NULL;
« no previous file with comments | « net/socket/unix_domain_listen_socket_posix.h ('k') | net/socket/unix_domain_server_socket_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698