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

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

Issue 2865303003: Remove a non-existent method declaration. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/socket_client.h
diff --git a/content/renderer/p2p/socket_client.h b/content/renderer/p2p/socket_client.h
index 4cb0e326ded06718074fd707714b9baa3fe09eb6..575d9af5213060ec1984ed7820802a81292cafc5 100644
--- a/content/renderer/p2p/socket_client.h
+++ b/content/renderer/p2p/socket_client.h
@@ -26,20 +26,6 @@ class P2PSocketClientDelegate;
// called on the same thread.
class P2PSocketClient : public base::RefCountedThreadSafe<P2PSocketClient> {
public:
- // Create a new P2PSocketClient() of the specified |type| and connected to
- // the specified |address|. |address| matters only when |type| is set to
- // P2P_SOCKET_TCP_CLIENT. The methods on the returned socket may only be
- // called on the same thread that created it.
- static scoped_refptr<P2PSocketClient> Create(
- P2PSocketType type,
- const net::IPEndPoint& local_address,
- uint16_t min_port,
- uint16_t max_port,
- const net::IPEndPoint& remote_address,
- P2PSocketClientDelegate* delegate);
-
- P2PSocketClient() {}
-
// Send the |data| to the |address| using Differentiated Services Code Point
// |dscp|. Return value is the unique packet_id for this packet.
virtual uint64_t Send(const net::IPEndPoint& address,
@@ -55,6 +41,7 @@ class P2PSocketClient : public base::RefCountedThreadSafe<P2PSocketClient> {
virtual void SetDelegate(P2PSocketClientDelegate* delegate) = 0;
protected:
+ P2PSocketClient() {}
virtual ~P2PSocketClient() {}
private:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698