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

Unified Diff: content/renderer/p2p/ipc_socket_factory.cc

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/renderer/p2p/ipc_socket_factory.h ('k') | content/renderer/p2p/port_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/ipc_socket_factory.cc
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc
index 3055016b864fb541c4fbd86bf4abf4ed949813d3..5611a3d6f8d3d44e65138690e78892c4f000e462 100644
--- a/content/renderer/p2p/ipc_socket_factory.cc
+++ b/content/renderer/p2p/ipc_socket_factory.cc
@@ -78,31 +78,31 @@ class IpcPacketSocket : public rtc::AsyncPacketSocket,
const rtc::SocketAddress& remote_address);
// rtc::AsyncPacketSocket interface.
- virtual rtc::SocketAddress GetLocalAddress() const OVERRIDE;
- virtual rtc::SocketAddress GetRemoteAddress() const OVERRIDE;
+ virtual rtc::SocketAddress GetLocalAddress() const override;
+ virtual rtc::SocketAddress GetRemoteAddress() const override;
virtual int Send(const void *pv, size_t cb,
- const rtc::PacketOptions& options) OVERRIDE;
+ const rtc::PacketOptions& options) override;
virtual int SendTo(const void *pv, size_t cb,
const rtc::SocketAddress& addr,
- const rtc::PacketOptions& options) OVERRIDE;
- virtual int Close() OVERRIDE;
- virtual State GetState() const OVERRIDE;
- virtual int GetOption(rtc::Socket::Option option, int* value) OVERRIDE;
- virtual int SetOption(rtc::Socket::Option option, int value) OVERRIDE;
- virtual int GetError() const OVERRIDE;
- virtual void SetError(int error) OVERRIDE;
+ const rtc::PacketOptions& options) override;
+ virtual int Close() override;
+ virtual State GetState() const override;
+ virtual int GetOption(rtc::Socket::Option option, int* value) override;
+ virtual int SetOption(rtc::Socket::Option option, int value) override;
+ virtual int GetError() const override;
+ virtual void SetError(int error) override;
// P2PSocketClientDelegate implementation.
virtual void OnOpen(const net::IPEndPoint& local_address,
- const net::IPEndPoint& remote_address) OVERRIDE;
+ const net::IPEndPoint& remote_address) override;
virtual void OnIncomingTcpConnection(
const net::IPEndPoint& address,
- P2PSocketClient* client) OVERRIDE;
- virtual void OnSendComplete() OVERRIDE;
- virtual void OnError() OVERRIDE;
+ P2PSocketClient* client) override;
+ virtual void OnSendComplete() override;
+ virtual void OnError() override;
virtual void OnDataReceived(const net::IPEndPoint& address,
const std::vector<char>& data,
- const base::TimeTicks& timestamp) OVERRIDE;
+ const base::TimeTicks& timestamp) override;
private:
enum InternalState {
@@ -175,11 +175,11 @@ class AsyncAddressResolverImpl : public base::NonThreadSafe,
virtual ~AsyncAddressResolverImpl();
// rtc::AsyncResolverInterface interface.
- virtual void Start(const rtc::SocketAddress& addr) OVERRIDE;
+ virtual void Start(const rtc::SocketAddress& addr) override;
virtual bool GetResolvedAddress(
- int family, rtc::SocketAddress* addr) const OVERRIDE;
- virtual int GetError() const OVERRIDE;
- virtual void Destroy(bool wait) OVERRIDE;
+ int family, rtc::SocketAddress* addr) const override;
+ virtual int GetError() const override;
+ virtual void Destroy(bool wait) override;
private:
virtual void OnAddressResolved(const net::IPAddressList& addresses);
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.h ('k') | content/renderer/p2p/port_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698