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

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

Issue 365903007: Handle unresolved remote hostname for TCP sockets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/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 fb4703d73a77d0f4f5877e66d2aa9477b8273880..5f1dbe57feace6cfa9cf14ade5dab0269242d4ed 100644
--- a/content/renderer/p2p/socket_client_impl.h
+++ b/content/renderer/p2p/socket_client_impl.h
@@ -74,7 +74,8 @@ class P2PSocketClientImpl : public P2PSocketClient {
virtual ~P2PSocketClientImpl();
// Message handlers that run on IPC thread.
- void OnSocketCreated(const net::IPEndPoint& address);
+ void OnSocketCreated(const net::IPEndPoint& address,
+ const net::IPEndPoint& remote_address);
void OnIncomingTcpConnection(const net::IPEndPoint& address);
void OnSendComplete(int packet_id);
void OnSendComplete();
@@ -84,7 +85,8 @@ class P2PSocketClientImpl : public P2PSocketClient {
const base::TimeTicks& timestamp);
// Proxy methods that deliver messages to the delegate thread.
- void DeliverOnSocketCreated(const net::IPEndPoint& address);
+ void DeliverOnSocketCreated(const net::IPEndPoint& address,
+ const net::IPEndPoint& remote_address);
void DeliverOnIncomingTcpConnection(
const net::IPEndPoint& address,
scoped_refptr<P2PSocketClient> new_client);

Powered by Google App Engine
This is Rietveld 408576698