OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/connection_to_host.h" | 5 #include "remoting/protocol/connection_to_host.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/location.h" |
9 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop_proxy.h" |
10 #include "remoting/base/constants.h" | 11 #include "remoting/base/constants.h" |
11 #include "remoting/jingle_glue/host_resolver.h" | 12 #include "remoting/jingle_glue/host_resolver.h" |
12 #include "remoting/jingle_glue/http_port_allocator.h" | 13 #include "remoting/jingle_glue/http_port_allocator.h" |
13 #include "remoting/jingle_glue/javascript_signal_strategy.h" | 14 #include "remoting/jingle_glue/javascript_signal_strategy.h" |
14 #include "remoting/jingle_glue/xmpp_signal_strategy.h" | 15 #include "remoting/jingle_glue/xmpp_signal_strategy.h" |
15 #include "remoting/protocol/auth_token_utils.h" | 16 #include "remoting/protocol/auth_token_utils.h" |
16 #include "remoting/protocol/client_message_dispatcher.h" | 17 #include "remoting/protocol/client_message_dispatcher.h" |
17 #include "remoting/protocol/client_stub.h" | 18 #include "remoting/protocol/client_stub.h" |
18 #include "remoting/protocol/host_control_sender.h" | 19 #include "remoting/protocol/host_control_sender.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 input_sender_.reset( | 264 input_sender_.reset( |
264 new InputSender(message_loop_, session_->event_channel())); | 265 new InputSender(message_loop_, session_->event_channel())); |
265 } | 266 } |
266 | 267 |
267 ConnectionToHost::State ConnectionToHost::state() const { | 268 ConnectionToHost::State ConnectionToHost::state() const { |
268 return state_; | 269 return state_; |
269 } | 270 } |
270 | 271 |
271 } // namespace protocol | 272 } // namespace protocol |
272 } // namespace remoting | 273 } // namespace remoting |
OLD | NEW |