summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/p2p/socket_dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/p2p/socket_dispatcher.h')
-rw-r--r--chrome/renderer/p2p/socket_dispatcher.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/renderer/p2p/socket_dispatcher.h b/chrome/renderer/p2p/socket_dispatcher.h
index 9f39387..076d051 100644
--- a/chrome/renderer/p2p/socket_dispatcher.h
+++ b/chrome/renderer/p2p/socket_dispatcher.h
@@ -38,7 +38,8 @@ class P2PSocketDispatcher : public RenderViewObserver {
explicit P2PSocketDispatcher(RenderView* render_view);
virtual ~P2PSocketDispatcher();
- P2PSocketClient* CreateSocket(P2PSocketType type, P2PSocketAddress address,
+ P2PSocketClient* CreateSocket(P2PSocketType type,
+ const net::IPEndPoint& address,
P2PSocketClient::Delegate* delegate);
// RenderViewObserver overrides.
@@ -54,9 +55,9 @@ class P2PSocketDispatcher : public RenderViewObserver {
base::MessageLoopProxy* message_loop();
// Incoming message handlers.
- void OnSocketCreated(int socket_id, const P2PSocketAddress& address);
+ void OnSocketCreated(int socket_id, const net::IPEndPoint& address);
void OnError(int socket_id);
- void OnDataReceived(int socket_id, const P2PSocketAddress& address,
+ void OnDataReceived(int socket_id, const net::IPEndPoint& address,
const std::vector<char>& data);
P2PSocketClient* GetClient(int socket_id);