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

Unified Diff: content/browser/renderer_host/p2p_sockets_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_sockets_host.h
diff --git a/content/browser/renderer_host/p2p_sockets_host.h b/content/browser/renderer_host/p2p_sockets_host.h
index 37ec8fd877ce4a3e84b2b629982dd069e962b6fd..32757d09be9d1689421af3bcd8b560087f0819b3 100644
--- a/content/browser/renderer_host/p2p_sockets_host.h
+++ b/content/browser/renderer_host/p2p_sockets_host.h
@@ -8,6 +8,7 @@
#include "base/id_map.h"
#include "content/browser/browser_message_filter.h"
#include "content/common/p2p_sockets.h"
+#include "net/base/ip_endpoint.h"
class P2PSocketHost;
@@ -24,9 +25,9 @@ class P2PSocketsHost : public BrowserMessageFilter {
private:
void OnCreateSocket(const IPC::Message& msg, P2PSocketType type,
- int socket_id, const P2PSocketAddress& remote_address);
+ int socket_id, const net::IPEndPoint& remote_address);
void OnSend(const IPC::Message& msg, int socket_id,
- const P2PSocketAddress& socket_address,
+ const net::IPEndPoint& socket_address,
const std::vector<char>& data);
void OnDestroySocket(const IPC::Message& msg, int socket_id);

Powered by Google App Engine
This is Rietveld 408576698