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 <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/test/test_simple_task_runner.h" | 15 #include "base/test/test_simple_task_runner.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "content/renderer/p2p/empty_network_manager.h" | 17 #include "content/renderer/p2p/empty_network_manager.h" |
18 #include "media/base/media_permission.h" | 18 #include "media/base/media_permission.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 #include "third_party/webrtc/base/ipaddress.h" | 20 #include "third_party/webrtc/base/ipaddress.h" |
21 | 21 |
22 using NetworkList = rtc::NetworkManager::NetworkList; | 22 using NetworkList = rtc::NetworkManager::NetworkList; |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 enum EventType { | 26 enum EventType { |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 {STOP_UPDATING, NO_SIGNAL}, | 351 {STOP_UPDATING, NO_SIGNAL}, |
352 {MOCK_NETWORKS_CHANGED, SIGNAL_ENUMERATION_ALLOWED}, | 352 {MOCK_NETWORKS_CHANGED, SIGNAL_ENUMERATION_ALLOWED}, |
353 {STOP_UPDATING, NO_SIGNAL}, | 353 {STOP_UPDATING, NO_SIGNAL}, |
354 {MOCK_NETWORKS_CHANGED, NO_SIGNAL}, | 354 {MOCK_NETWORKS_CHANGED, NO_SIGNAL}, |
355 }; | 355 }; |
356 | 356 |
357 RunTests(tests, arraysize(tests)); | 357 RunTests(tests, arraysize(tests)); |
358 } | 358 } |
359 | 359 |
360 } // namespace content | 360 } // namespace content |
OLD | NEW |