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/transport_context.h" | 5 #include "remoting/protocol/transport_context.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/location.h" | 10 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
11 #include "remoting/protocol/port_allocator_factory.h" | 13 #include "remoting/protocol/port_allocator_factory.h" |
12 #include "third_party/webrtc/p2p/client/httpportallocator.h" | 14 #include "third_party/webrtc/p2p/client/httpportallocator.h" |
13 | 15 |
14 namespace remoting { | 16 namespace remoting { |
15 namespace protocol { | 17 namespace protocol { |
16 | 18 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 115 |
114 result->set_flags(flags); | 116 result->set_flags(flags); |
115 result->SetPortRange(network_settings_.port_range.min_port, | 117 result->SetPortRange(network_settings_.port_range.min_port, |
116 network_settings_.port_range.max_port); | 118 network_settings_.port_range.max_port); |
117 | 119 |
118 return std::move(result); | 120 return std::move(result); |
119 } | 121 } |
120 | 122 |
121 } // namespace protocol | 123 } // namespace protocol |
122 } // namespace remoting | 124 } // namespace remoting |
OLD | NEW |