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 "content/renderer/p2p/filtering_network_manager.h" | 5 #include "content/renderer/p2p/filtering_network_manager.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/logging.h" | 11 #include "base/logging.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "media/base/media_permission.h" | 13 #include "media/base/media_permission.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 FilteringNetworkManager::FilteringNetworkManager( | 17 FilteringNetworkManager::FilteringNetworkManager( |
18 rtc::NetworkManager* network_manager, | 18 rtc::NetworkManager* network_manager, |
19 const GURL& requesting_origin, | 19 const GURL& requesting_origin, |
20 media::MediaPermission* media_permission) | 20 media::MediaPermission* media_permission) |
21 : network_manager_(network_manager), | 21 : network_manager_(network_manager), |
22 media_permission_(media_permission), | 22 media_permission_(media_permission), |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 sent_first_update_ = true; | 176 sent_first_update_ = true; |
177 received_networks_changed_since_last_firing_ = false; | 177 received_networks_changed_since_last_firing_ = false; |
178 } | 178 } |
179 | 179 |
180 void FilteringNetworkManager::SendNetworksChangedSignal() { | 180 void FilteringNetworkManager::SendNetworksChangedSignal() { |
181 SignalNetworksChanged(); | 181 SignalNetworksChanged(); |
182 } | 182 } |
183 | 183 |
184 } // namespace content | 184 } // namespace content |
OLD | NEW |