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

Unified Diff: content/browser/renderer_host/p2p/socket_host.h

Issue 17132012: Proxy support for P2P TCP Socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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.h
===================================================================
--- content/browser/renderer_host/p2p/socket_host.h (revision 207812)
+++ content/browser/renderer_host/p2p/socket_host.h (working copy)
@@ -14,6 +14,10 @@
class Sender;
}
+namespace net {
+class URLRequestContextGetter;
+}
+
namespace content {
// Base class for P2P sockets.
@@ -22,7 +26,8 @@
static const int kStunHeaderSize = 20;
// Creates P2PSocketHost of the specific type.
static P2PSocketHost* Create(IPC::Sender* message_sender,
- int id, P2PSocketType type);
+ int id, P2PSocketType type,
+ net::URLRequestContextGetter* url_context);
virtual ~P2PSocketHost();
@@ -38,8 +43,7 @@
const net::IPEndPoint& remote_address, int id) = 0;
protected:
- friend class P2PSocketHostTcpTest;
- friend class P2PSocketHostStunTcpTest;
+ friend class P2PSocketHostTcpTestBase;
enum StunMessageType {
STUN_BINDING_REQUEST = 0x0001,
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_host.cc ('k') | content/browser/renderer_host/p2p/socket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698