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

Side by Side Diff: remoting/protocol/webrtc_transport.cc

Issue 1681393006: Use UrlRequest in PortAllocator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « remoting/protocol/webrtc_transport.h ('k') | remoting/remoting_srcs.gypi » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/webrtc_transport.h" 5 #include "remoting/protocol/webrtc_transport.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/task_runner_util.h" 13 #include "base/task_runner_util.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
15 #include "jingle/glue/thread_wrapper.h" 15 #include "jingle/glue/thread_wrapper.h"
16 #include "remoting/protocol/port_allocator_factory.h"
16 #include "remoting/protocol/stream_message_pipe_adapter.h" 17 #include "remoting/protocol/stream_message_pipe_adapter.h"
17 #include "remoting/protocol/transport_context.h" 18 #include "remoting/protocol/transport_context.h"
18 #include "third_party/webrtc/api/test/fakeconstraints.h" 19 #include "third_party/webrtc/api/test/fakeconstraints.h"
19 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 20 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
20 #include "third_party/webrtc/modules/audio_device/include/fake_audio_device.h" 21 #include "third_party/webrtc/modules/audio_device/include/fake_audio_device.h"
21 22
22 using buzz::QName; 23 using buzz::QName;
23 using buzz::XmlElement; 24 using buzz::XmlElement;
24 25
25 namespace remoting { 26 namespace remoting {
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 peer_connection_->Close(); 489 peer_connection_->Close();
489 peer_connection_ = nullptr; 490 peer_connection_ = nullptr;
490 peer_connection_factory_ = nullptr; 491 peer_connection_factory_ = nullptr;
491 492
492 if (error != OK) 493 if (error != OK)
493 event_handler_->OnWebrtcTransportError(error); 494 event_handler_->OnWebrtcTransportError(error);
494 } 495 }
495 496
496 } // namespace protocol 497 } // namespace protocol
497 } // namespace remoting 498 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_transport.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698