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

Unified Diff: content/renderer/p2p/socket_client_impl.h

Issue 670683003: Standardize usage of virtual/override/final 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/port_allocator.h ('k') | content/renderer/p2p/socket_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/socket_client_impl.h
diff --git a/content/renderer/p2p/socket_client_impl.h b/content/renderer/p2p/socket_client_impl.h
index 399d533da18811d22d80cd2ab7c6345d28d3e696..4cda52ddb875d27fbd89ca38535be752e4f86859 100644
--- a/content/renderer/p2p/socket_client_impl.h
+++ b/content/renderer/p2p/socket_client_impl.h
@@ -40,25 +40,25 @@ class P2PSocketClientImpl : public P2PSocketClient {
P2PSocketClientDelegate* delegate);
// Send the |data| to the |address|.
- virtual void Send(const net::IPEndPoint& address,
- const std::vector<char>& data) override;
+ void Send(const net::IPEndPoint& address,
+ const std::vector<char>& data) override;
// Send the |data| to the |address| using Differentiated Services Code Point
// |dscp|.
- virtual void SendWithDscp(const net::IPEndPoint& address,
- const std::vector<char>& data,
- const rtc::PacketOptions& options) override;
+ void SendWithDscp(const net::IPEndPoint& address,
+ const std::vector<char>& data,
+ const rtc::PacketOptions& options) override;
// Setting socket options.
- virtual void SetOption(P2PSocketOption option, int value) override;
+ void SetOption(P2PSocketOption option, int value) override;
// Must be called before the socket is destroyed. The delegate may
// not be called after |closed_task| is executed.
- virtual void Close() override;
+ void Close() override;
- virtual int GetSocketID() const override;
+ int GetSocketID() const override;
- virtual void SetDelegate(P2PSocketClientDelegate* delegate) override;
+ void SetDelegate(P2PSocketClientDelegate* delegate) override;
private:
enum State {
@@ -71,7 +71,7 @@ class P2PSocketClientImpl : public P2PSocketClient {
friend class P2PSocketDispatcher;
- virtual ~P2PSocketClientImpl();
+ ~P2PSocketClientImpl() override;
// Message handlers that run on IPC thread.
void OnSocketCreated(const net::IPEndPoint& local_address,
« no previous file with comments | « content/renderer/p2p/port_allocator.h ('k') | content/renderer/p2p/socket_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698