OLD | NEW |
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/libjingle_transport_factory.h" | 5 #include "remoting/protocol/libjingle_transport_factory.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/thread_task_runner_handle.h" | 9 #include "base/thread_task_runner_handle.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
11 #include "jingle/glue/channel_socket_adapter.h" | 11 #include "jingle/glue/channel_socket_adapter.h" |
12 #include "jingle/glue/pseudotcp_adapter.h" | 12 #include "jingle/glue/pseudotcp_adapter.h" |
13 #include "jingle/glue/utils.h" | 13 #include "jingle/glue/utils.h" |
14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
15 #include "remoting/base/constants.h" | 15 #include "remoting/base/constants.h" |
16 #include "remoting/jingle_glue/jingle_info_request.h" | |
17 #include "remoting/jingle_glue/network_settings.h" | |
18 #include "remoting/protocol/channel_authenticator.h" | 16 #include "remoting/protocol/channel_authenticator.h" |
| 17 #include "remoting/protocol/network_settings.h" |
| 18 #include "remoting/signaling/jingle_info_request.h" |
19 #include "third_party/libjingle/source/talk/base/network.h" | 19 #include "third_party/libjingle/source/talk/base/network.h" |
20 #include "third_party/libjingle/source/talk/p2p/base/constants.h" | 20 #include "third_party/libjingle/source/talk/p2p/base/constants.h" |
21 #include "third_party/libjingle/source/talk/p2p/base/p2ptransportchannel.h" | 21 #include "third_party/libjingle/source/talk/p2p/base/p2ptransportchannel.h" |
22 #include "third_party/libjingle/source/talk/p2p/base/port.h" | 22 #include "third_party/libjingle/source/talk/p2p/base/port.h" |
23 #include "third_party/libjingle/source/talk/p2p/client/basicportallocator.h" | 23 #include "third_party/libjingle/source/talk/p2p/client/basicportallocator.h" |
24 #include "third_party/libjingle/source/talk/p2p/client/httpportallocator.h" | 24 #include "third_party/libjingle/source/talk/p2p/client/httpportallocator.h" |
25 | 25 |
26 namespace remoting { | 26 namespace remoting { |
27 namespace protocol { | 27 namespace protocol { |
28 | 28 |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 last_jingle_info_update_time_ = base::TimeTicks::Now(); | 489 last_jingle_info_update_time_ = base::TimeTicks::Now(); |
490 | 490 |
491 while (!on_jingle_info_callbacks_.empty()) { | 491 while (!on_jingle_info_callbacks_.empty()) { |
492 on_jingle_info_callbacks_.begin()->Run(); | 492 on_jingle_info_callbacks_.begin()->Run(); |
493 on_jingle_info_callbacks_.pop_front(); | 493 on_jingle_info_callbacks_.pop_front(); |
494 } | 494 } |
495 } | 495 } |
496 | 496 |
497 } // namespace protocol | 497 } // namespace protocol |
498 } // namespace remoting | 498 } // namespace remoting |
OLD | NEW |