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