| OLD | NEW |
| 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 <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "base/threading/thread_restrictions.h" | 21 #include "base/threading/thread_restrictions.h" |
| 22 #include "base/threading/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
| 23 #include "jingle/glue/thread_wrapper.h" | 23 #include "jingle/glue/thread_wrapper.h" |
| 24 #include "remoting/protocol/authenticator.h" | 24 #include "remoting/protocol/authenticator.h" |
| 25 #include "remoting/protocol/port_allocator_factory.h" | 25 #include "remoting/protocol/port_allocator_factory.h" |
| 26 #include "remoting/protocol/sdp_message.h" | 26 #include "remoting/protocol/sdp_message.h" |
| 27 #include "remoting/protocol/stream_message_pipe_adapter.h" | 27 #include "remoting/protocol/stream_message_pipe_adapter.h" |
| 28 #include "remoting/protocol/transport_context.h" | 28 #include "remoting/protocol/transport_context.h" |
| 29 #include "remoting/protocol/webrtc_audio_module.h" | 29 #include "remoting/protocol/webrtc_audio_module.h" |
| 30 #include "remoting/protocol/webrtc_dummy_video_encoder.h" | 30 #include "remoting/protocol/webrtc_dummy_video_encoder.h" |
| 31 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
| 31 #include "third_party/webrtc/api/test/fakeconstraints.h" | 32 #include "third_party/webrtc/api/test/fakeconstraints.h" |
| 32 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | |
| 33 | 33 |
| 34 using buzz::QName; | 34 using buzz::QName; |
| 35 using buzz::XmlElement; | 35 using buzz::XmlElement; |
| 36 | 36 |
| 37 namespace remoting { | 37 namespace remoting { |
| 38 namespace protocol { | 38 namespace protocol { |
| 39 | 39 |
| 40 namespace { | 40 namespace { |
| 41 | 41 |
| 42 // Delay after candidate creation before sending transport-info message to | 42 // Delay after candidate creation before sending transport-info message to |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 // the stack and so it must be destroyed later. | 702 // the stack and so it must be destroyed later. |
| 703 base::ThreadTaskRunnerHandle::Get()->DeleteSoon( | 703 base::ThreadTaskRunnerHandle::Get()->DeleteSoon( |
| 704 FROM_HERE, peer_connection_wrapper_.release()); | 704 FROM_HERE, peer_connection_wrapper_.release()); |
| 705 | 705 |
| 706 if (error != OK) | 706 if (error != OK) |
| 707 event_handler_->OnWebrtcTransportError(error); | 707 event_handler_->OnWebrtcTransportError(error); |
| 708 } | 708 } |
| 709 | 709 |
| 710 } // namespace protocol | 710 } // namespace protocol |
| 711 } // namespace remoting | 711 } // namespace remoting |
| OLD | NEW |