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

Side by Side Diff: remoting/ios/bridge/client_instance.cc

Issue 354693004: Switch to using URLRequestContextBuilder to create some URLRequestContexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/setup/start_host.cc ('k') | remoting/remoting_nacl.gyp » ('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 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
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
OLDNEW
« no previous file with comments | « remoting/host/setup/start_host.cc ('k') | remoting/remoting_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698