| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 input_sender_.reset( | 256 input_sender_.reset( |
| 256 new InputSender(message_loop_, session_->event_channel())); | 257 new InputSender(message_loop_, session_->event_channel())); |
| 257 } | 258 } |
| 258 | 259 |
| 259 ConnectionToHost::State ConnectionToHost::state() const { | 260 ConnectionToHost::State ConnectionToHost::state() const { |
| 260 return state_; | 261 return state_; |
| 261 } | 262 } |
| 262 | 263 |
| 263 } // namespace protocol | 264 } // namespace protocol |
| 264 } // namespace remoting | 265 } // namespace remoting |
| OLD | NEW |