| 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 "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 9 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/task_runner_util.h" | 11 #include "base/task_runner_util.h" |
| 11 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 12 #include "jingle/glue/thread_wrapper.h" | 13 #include "jingle/glue/thread_wrapper.h" |
| 13 #include "remoting/protocol/transport_context.h" | 14 #include "remoting/protocol/transport_context.h" |
| 14 #include "third_party/libjingle/source/talk/app/webrtc/test/fakeconstraints.h" | 15 #include "third_party/libjingle/source/talk/app/webrtc/test/fakeconstraints.h" |
| 15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 16 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 16 #include "third_party/webrtc/modules/audio_device/include/fake_audio_device.h" | 17 #include "third_party/webrtc/modules/audio_device/include/fake_audio_device.h" |
| 17 | 18 |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 | 500 |
| 500 WebrtcTransportFactory::~WebrtcTransportFactory() {} | 501 WebrtcTransportFactory::~WebrtcTransportFactory() {} |
| 501 | 502 |
| 502 scoped_ptr<Transport> WebrtcTransportFactory::CreateTransport() { | 503 scoped_ptr<Transport> WebrtcTransportFactory::CreateTransport() { |
| 503 return make_scoped_ptr( | 504 return make_scoped_ptr( |
| 504 new WebrtcTransport(worker_thread_, transport_context_.get())); | 505 new WebrtcTransport(worker_thread_, transport_context_.get())); |
| 505 } | 506 } |
| 506 | 507 |
| 507 } // namespace protocol | 508 } // namespace protocol |
| 508 } // namespace remoting | 509 } // namespace remoting |
| OLD | NEW |