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