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

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

Issue 2140693002: Support port range for IPC P2P UDP sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and remove unused constructor from test Created 4 years, 5 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/socket_client.h ('k') | content/renderer/p2p/socket_client_impl.cc » ('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 fd1099a4f0f36b2419f4bf1ce9c5218324f17e0d..eda1593ef423d3fd66a77a17f000bfe0de8ae8b2 100644
--- a/content/renderer/p2p/socket_client_impl.h
+++ b/content/renderer/p2p/socket_client_impl.h
@@ -39,6 +39,8 @@ class P2PSocketClientImpl : public P2PSocketClient {
// P2P_SOCKET_TCP_CLIENT.
virtual void Init(P2PSocketType type,
const net::IPEndPoint& local_address,
+ uint16_t min_port,
+ uint16_t max_port,
const P2PHostAndIPEndPoint& remote_address,
P2PSocketClientDelegate* delegate);
@@ -104,6 +106,8 @@ class P2PSocketClientImpl : public P2PSocketClient {
// Scheduled on the IPC thread to finish initialization.
void DoInit(P2PSocketType type,
const net::IPEndPoint& local_address,
+ uint16_t min_port,
+ uint16_t max_port,
const P2PHostAndIPEndPoint& remote_address);
// Scheduled on the IPC thread to finish closing the connection.
« no previous file with comments | « content/renderer/p2p/socket_client.h ('k') | content/renderer/p2p/socket_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698