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

Side by Side Diff: remoting/protocol/channel_dispatcher_base.cc

Issue 551173004: Move PseudoTCP and channel auth out of LibjingleTransportFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean_dgrams
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.h ('k') | remoting/protocol/channel_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/channel_dispatcher_base.h" 5 #include "remoting/protocol/channel_dispatcher_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "net/socket/stream_socket.h" 8 #include "net/socket/stream_socket.h"
9 #include "remoting/protocol/channel_factory.h"
10 #include "remoting/protocol/session.h" 9 #include "remoting/protocol/session.h"
11 #include "remoting/protocol/session_config.h" 10 #include "remoting/protocol/session_config.h"
11 #include "remoting/protocol/stream_channel_factory.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 namespace protocol { 14 namespace protocol {
15 15
16 ChannelDispatcherBase::ChannelDispatcherBase(const char* channel_name) 16 ChannelDispatcherBase::ChannelDispatcherBase(const char* channel_name)
17 : channel_name_(channel_name), 17 : channel_name_(channel_name),
18 channel_factory_(NULL) { 18 channel_factory_(NULL) {
19 } 19 }
20 20
21 ChannelDispatcherBase::~ChannelDispatcherBase() { 21 ChannelDispatcherBase::~ChannelDispatcherBase() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 channel_ = socket.Pass(); 58 channel_ = socket.Pass();
59 59
60 OnInitialized(); 60 OnInitialized();
61 61
62 initialized_callback_.Run(true); 62 initialized_callback_.Run(true);
63 } 63 }
64 64
65 } // namespace protocol 65 } // namespace protocol
66 } // namespace remoting 66 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.h ('k') | remoting/protocol/channel_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698