| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/public/test/browser_test_base.h" | 5 #include "content/public/test/browser_test_base.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/debug/stack_trace.h" | 11 #include "base/debug/stack_trace.h" |
| 12 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
| 13 #include "base/i18n/icu_util.h" | 13 #include "base/i18n/icu_util.h" |
| 14 #include "base/location.h" | 14 #include "base/location.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/message_loop/message_loop.h" |
| 16 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
| 17 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
| 18 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
| 19 #include "base/test/test_timeouts.h" | 20 #include "base/test/test_timeouts.h" |
| 20 #include "base/threading/sequenced_worker_pool.h" | 21 #include "base/threading/sequenced_worker_pool.h" |
| 21 #include "base/threading/thread_restrictions.h" | 22 #include "base/threading/thread_restrictions.h" |
| 22 #include "build/build_config.h" | 23 #include "build/build_config.h" |
| 23 #include "content/browser/renderer_host/render_process_host_impl.h" | 24 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 24 #include "content/browser/tracing/tracing_controller_impl.h" | 25 #include "content/browser/tracing/tracing_controller_impl.h" |
| 25 #include "content/public/app/content_main.h" | 26 #include "content/public/app/content_main.h" |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 if (mojo_rules.empty()) | 408 if (mojo_rules.empty()) |
| 408 return; | 409 return; |
| 409 | 410 |
| 410 mojom::NetworkServiceTestPtr network_service_test; | 411 mojom::NetworkServiceTestPtr network_service_test; |
| 411 ServiceManagerConnection::GetForProcess()->GetConnector()->BindInterface( | 412 ServiceManagerConnection::GetForProcess()->GetConnector()->BindInterface( |
| 412 mojom::kNetworkServiceName, &network_service_test); | 413 mojom::kNetworkServiceName, &network_service_test); |
| 413 network_service_test->AddRules(std::move(mojo_rules)); | 414 network_service_test->AddRules(std::move(mojo_rules)); |
| 414 } | 415 } |
| 415 | 416 |
| 416 } // namespace content | 417 } // namespace content |
| OLD | NEW |