| 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> | 7 #include <utility> | 
| 8 | 8 | 
| 9 #include "base/bind.h" | 9 #include "base/bind.h" | 
| 10 #include "base/location.h" | 10 #include "base/location.h" | 
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" | 
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" | 
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" | 
| 14 #include "remoting/base/url_request.h" | 14 #include "remoting/base/url_request.h" | 
| 15 #include "remoting/protocol/http_ice_config_request.h" | 15 #include "remoting/protocol/http_ice_config_request.h" | 
| 16 #include "remoting/protocol/jingle_info_request.h" | 16 #include "remoting/protocol/jingle_info_request.h" | 
| 17 #include "remoting/protocol/port_allocator_factory.h" | 17 #include "remoting/protocol/port_allocator_factory.h" | 
| 18 #include "third_party/webrtc/base/socketaddress.h" | 18 #include "third_party/webrtc/base/socketaddress.h" | 
| 19 | 19 | 
| 20 #if !defined(OS_NACL) | 20 #if !defined(OS_NACL) | 
| 21 #include "jingle/glue/thread_wrapper.h" | 21 #include "jingle/glue/thread_wrapper.h" | 
| 22 #include "net/url_request/url_request_context_getter.h" | 22 #include "net/url_request/url_request_context_getter.h" | 
| 23 #include "remoting/protocol/chromium_port_allocator_factory.h" | 23 #include "remoting/protocol/chromium_port_allocator_factory.h" | 
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 108 | 108 | 
| 109   auto& callback_list = pending_ice_config_callbacks_[relay_mode]; | 109   auto& callback_list = pending_ice_config_callbacks_[relay_mode]; | 
| 110   while (!callback_list.empty()) { | 110   while (!callback_list.empty()) { | 
| 111     callback_list.begin()->Run(ice_config); | 111     callback_list.begin()->Run(ice_config); | 
| 112     callback_list.pop_front(); | 112     callback_list.pop_front(); | 
| 113   } | 113   } | 
| 114 } | 114 } | 
| 115 | 115 | 
| 116 }  // namespace protocol | 116 }  // namespace protocol | 
| 117 }  // namespace remoting | 117 }  // namespace remoting | 
| OLD | NEW | 
|---|