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

Unified Diff: content/browser/renderer_host/p2p_socket_host.h

Issue 6685013: Use IPEndPoint for P2P IPC messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 9 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 6d8656c19ae590441cb16e2722e7bafd9e907f6a..b7cd919e66c59fd343a4d5cf3cedc726d9f5a553 100644
--- a/content/browser/renderer_host/p2p_socket_host.h
+++ b/content/browser/renderer_host/p2p_socket_host.h
@@ -7,6 +7,8 @@
#include "content/common/p2p_sockets.h"
+#include "net/base/ip_endpoint.h"
+
class P2PSocketsHost;
// Base class for P2P sockets used by P2PSocketsHost.
@@ -23,7 +25,7 @@ class P2PSocketHost {
virtual bool Init() = 0;
// Sends |data| on the socket to |socket_address|.
- virtual void Send(const P2PSocketAddress& socket_address,
+ virtual void Send(const net::IPEndPoint& socket_address,
const std::vector<char>& data) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698