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

Unified Diff: remoting/protocol/channel_dispatcher_base.h

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/channel_authenticator.h ('k') | remoting/protocol/channel_dispatcher_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/channel_dispatcher_base.h
diff --git a/remoting/protocol/channel_dispatcher_base.h b/remoting/protocol/channel_dispatcher_base.h
index 64011b83102a7ca8bb79b8757883f52a73a65bb9..3a2fe076e3e4984bfb2ebc73fb104301fa9183fe 100644
--- a/remoting/protocol/channel_dispatcher_base.h
+++ b/remoting/protocol/channel_dispatcher_base.h
@@ -14,10 +14,6 @@
#include "remoting/protocol/errors.h"
#include "remoting/protocol/message_reader.h"
-namespace net {
-class StreamSocket;
-} // namespace net
-
namespace remoting {
namespace protocol {
@@ -66,13 +62,13 @@ class ChannelDispatcherBase {
MessageReader* reader() { return &reader_; }
private:
- void OnChannelReady(scoped_ptr<net::StreamSocket> socket);
+ void OnChannelReady(scoped_ptr<P2PStreamSocket> socket);
void OnReadWriteFailed(int error);
std::string channel_name_;
StreamChannelFactory* channel_factory_;
EventHandler* event_handler_;
- scoped_ptr<net::StreamSocket> channel_;
+ scoped_ptr<P2PStreamSocket> channel_;
BufferedSocketWriter writer_;
MessageReader reader_;
« no previous file with comments | « remoting/protocol/channel_authenticator.h ('k') | remoting/protocol/channel_dispatcher_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698