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

Unified Diff: remoting/protocol/message_reader.cc

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « remoting/protocol/message_reader.h ('k') | remoting/protocol/p2p_datagram_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/message_reader.cc
diff --git a/remoting/protocol/message_reader.cc b/remoting/protocol/message_reader.cc
index 193889115761d25b0880b42b5ba71c3c70579d5c..ab812daf9859ba04de95b8c24a3273f580b5e084 100644
--- a/remoting/protocol/message_reader.cc
+++ b/remoting/protocol/message_reader.cc
@@ -12,9 +12,9 @@
#include "base/single_thread_task_runner.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
-#include "net/socket/socket.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/proto/internal.pb.h"
+#include "remoting/protocol/p2p_stream_socket.h"
namespace remoting {
namespace protocol {
@@ -39,7 +39,7 @@ void MessageReader::SetMessageReceivedCallback(
}
void MessageReader::StartReading(
- net::Socket* socket,
+ P2PStreamSocket* socket,
const ReadFailedCallback& read_failed_callback) {
DCHECK(CalledOnValidThread());
DCHECK(socket);
« no previous file with comments | « remoting/protocol/message_reader.h ('k') | remoting/protocol/p2p_datagram_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698