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

Unified Diff: content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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
Index: content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc b/content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc
index 270fad90cb18e329b6e2ae9bc0fa1999dde40814..6db5c1618dc491fd1d6c74fb9a71bea8cdbd398c 100644
--- a/content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc
+++ b/content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc
@@ -47,19 +47,19 @@ class FakeServerSocket : public net::ServerSocket {
}
}
- virtual int Listen(const net::IPEndPoint& address, int backlog) OVERRIDE {
+ virtual int Listen(const net::IPEndPoint& address, int backlog) override {
local_address_ = address;
listening_ = true;
return net::OK;
}
- virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE {
+ virtual int GetLocalAddress(net::IPEndPoint* address) const override {
*address = local_address_;
return net::OK;
}
virtual int Accept(scoped_ptr<net::StreamSocket>* socket,
- const net::CompletionCallback& callback) OVERRIDE {
+ const net::CompletionCallback& callback) override {
DCHECK(socket);
if (!incoming_sockets_.empty()) {
socket->reset(incoming_sockets_.front());
@@ -89,7 +89,7 @@ namespace content {
class P2PSocketHostTcpServerTest : public testing::Test {
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
socket_ = new FakeServerSocket();
socket_host_.reset(
new P2PSocketHostTcpServer(&sender_, 0, P2P_SOCKET_TCP_CLIENT));

Powered by Google App Engine
This is Rietveld 408576698