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

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

Issue 10917167: Refactor the P2PSocketDispatcher to be created on the RenderThread instead of the RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change P2PSocketDispatcher to take the io message loop as input to fix existing unit tests Created 8 years, 3 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
diff --git a/content/browser/renderer_host/p2p/socket_host.h b/content/browser/renderer_host/p2p/socket_host.h
index a7dcade31902a022491e66ffbf0abe527a27cc0c..25a827fd416c10d6320dd23bf4ae78314cf7994b 100644
--- a/content/browser/renderer_host/p2p/socket_host.h
+++ b/content/browser/renderer_host/p2p/socket_host.h
@@ -18,7 +18,7 @@ class CONTENT_EXPORT P2PSocketHost {
public:
// Creates P2PSocketHost of the specific type.
static P2PSocketHost* Create(IPC::Sender* message_sender,
- int routing_id, int id, P2PSocketType type);
+ int id, P2PSocketType type);
virtual ~P2PSocketHost();
@@ -68,7 +68,7 @@ class CONTENT_EXPORT P2PSocketHost {
// see crbug.com/91495 .
static const int kMaxSendBufferSize = 256 * 1024;
- P2PSocketHost(IPC::Sender* message_sender, int routing_id, int id);
+ P2PSocketHost(IPC::Sender* message_sender, int id);
// Verifies that the packet |data| has a valid STUN header. In case
// of success stores type of the message in |type|.
@@ -77,7 +77,6 @@ class CONTENT_EXPORT P2PSocketHost {
static bool IsRequestOrResponse(StunMessageType type);
IPC::Sender* message_sender_;
- int routing_id_;
int id_;
State state_;

Powered by Google App Engine
This is Rietveld 408576698