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

Unified Diff: chrome/renderer/p2p/socket_dispatcher.cc

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: chrome/renderer/p2p/socket_dispatcher.cc
diff --git a/chrome/renderer/p2p/socket_dispatcher.cc b/chrome/renderer/p2p/socket_dispatcher.cc
index 6096f6ca7cf67e5c27f6de513199bf7602f5a5c7..221683dcadd4b58f6a2044f2e091b069d5fcf45b 100644
--- a/chrome/renderer/p2p/socket_dispatcher.cc
+++ b/chrome/renderer/p2p/socket_dispatcher.cc
@@ -50,7 +50,7 @@ base::MessageLoopProxy* P2PSocketDispatcher::message_loop() {
}
void P2PSocketDispatcher::OnSocketCreated(
- int socket_id, const P2PSocketAddress& address) {
+ int socket_id, const net::IPEndPoint& address) {
P2PSocketClient* client = GetClient(socket_id);
if (client) {
client->OnSocketCreated(address);
@@ -65,7 +65,7 @@ void P2PSocketDispatcher::OnError(int socket_id) {
}
void P2PSocketDispatcher::OnDataReceived(
- int socket_id, const P2PSocketAddress& address,
+ int socket_id, const net::IPEndPoint& address,
const std::vector<char>& data) {
P2PSocketClient* client = GetClient(socket_id);
if (client) {

Powered by Google App Engine
This is Rietveld 408576698