OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ios/bridge/client_instance.h" | 5 #include "remoting/ios/bridge/client_instance.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
10 #include "net/socket/client_socket_factory.h" | 10 #include "net/socket/client_socket_factory.h" |
11 #include "remoting/base/url_request_context.h" | 11 #include "remoting/base/url_request_context_getter.h" |
12 #include "remoting/client/audio_player.h" | 12 #include "remoting/client/audio_player.h" |
13 #include "remoting/client/plugin/delegating_signal_strategy.h" | 13 #include "remoting/client/plugin/delegating_signal_strategy.h" |
14 #include "remoting/ios/bridge/client_proxy.h" | 14 #include "remoting/ios/bridge/client_proxy.h" |
15 #include "remoting/jingle_glue/chromium_port_allocator.h" | 15 #include "remoting/jingle_glue/chromium_port_allocator.h" |
16 #include "remoting/protocol/host_stub.h" | 16 #include "remoting/protocol/host_stub.h" |
17 #include "remoting/protocol/libjingle_transport_factory.h" | 17 #include "remoting/protocol/libjingle_transport_factory.h" |
18 | 18 |
19 namespace { | 19 namespace { |
20 const char* const kXmppServer = "talk.google.com"; | 20 const char* const kXmppServer = "talk.google.com"; |
21 const int kXmppPort = 5222; | 21 const int kXmppPort = 5222; |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 connection_.reset(); | 388 connection_.reset(); |
389 client_.reset(); | 389 client_.reset(); |
390 signaling_.reset(); | 390 signaling_.reset(); |
391 video_renderer_.reset(); | 391 video_renderer_.reset(); |
392 client_context_->Stop(); | 392 client_context_->Stop(); |
393 if (!done.is_null()) | 393 if (!done.is_null()) |
394 done.Run(); | 394 done.Run(); |
395 } | 395 } |
396 | 396 |
397 } // namespace remoting | 397 } // namespace remoting |
OLD | NEW |