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

Unified Diff: remoting/protocol/channel_dispatcher_base.cc

Issue 1413813006: Revert of Add TransportSession interface to prepare for WebRTC-based transport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/host/session_manager_factory.cc ('k') | remoting/protocol/channel_multiplexer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/channel_dispatcher_base.cc
diff --git a/remoting/protocol/channel_dispatcher_base.cc b/remoting/protocol/channel_dispatcher_base.cc
index 65450617b44f9509eb3beb986ae7024e8830555c..3d54269bb24f624666e5897ca12295a2607470f5 100644
--- a/remoting/protocol/channel_dispatcher_base.cc
+++ b/remoting/protocol/channel_dispatcher_base.cc
@@ -9,7 +9,6 @@
#include "remoting/protocol/session.h"
#include "remoting/protocol/session_config.h"
#include "remoting/protocol/stream_channel_factory.h"
-#include "remoting/protocol/transport.h"
namespace remoting {
namespace protocol {
@@ -31,8 +30,7 @@
DCHECK(session);
switch (config.transport) {
case ChannelConfig::TRANSPORT_MUX_STREAM:
- channel_factory_ =
- session->GetTransportSession()->GetMultiplexedChannelFactory();
+ channel_factory_ = session->GetMultiplexedChannelFactory();
break;
case ChannelConfig::TRANSPORT_QUIC_STREAM:
@@ -40,8 +38,7 @@
break;
case ChannelConfig::TRANSPORT_STREAM:
- channel_factory_ =
- session->GetTransportSession()->GetStreamChannelFactory();
+ channel_factory_ = session->GetTransportChannelFactory();
break;
default:
« no previous file with comments | « remoting/host/session_manager_factory.cc ('k') | remoting/protocol/channel_multiplexer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698