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

Unified Diff: remoting/protocol/channel_multiplexer.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_dispatcher_base.cc ('k') | remoting/protocol/channel_multiplexer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/channel_multiplexer.h
diff --git a/remoting/protocol/channel_multiplexer.h b/remoting/protocol/channel_multiplexer.h
index c406d9b27030ef3a738e3a4f15897566702d264c..f35336db4f4c802eb163ca5f02ce7a407cb8cc1e 100644
--- a/remoting/protocol/channel_multiplexer.h
+++ b/remoting/protocol/channel_multiplexer.h
@@ -36,7 +36,7 @@ class ChannelMultiplexer : public StreamChannelFactory {
friend class MuxChannel;
// Callback for |base_channel_| creation.
- void OnBaseChannelReady(scoped_ptr<net::StreamSocket> socket);
+ void OnBaseChannelReady(scoped_ptr<P2PStreamSocket> socket);
// Helper to create channels asynchronously.
void DoCreatePendingChannels();
@@ -67,7 +67,7 @@ class ChannelMultiplexer : public StreamChannelFactory {
std::string base_channel_name_;
// The channel over which to multiplex.
- scoped_ptr<net::StreamSocket> base_channel_;
+ scoped_ptr<P2PStreamSocket> base_channel_;
// List of requested channels while we are waiting for |base_channel_|.
std::list<PendingChannel> pending_channels_;
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.cc ('k') | remoting/protocol/channel_multiplexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698