| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/content_test_suite_base.h" | 5 #include "content/public/test/content_test_suite_base.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/metrics/statistics_recorder.h" | 10 #include "base/metrics/statistics_recorder.h" |
| 11 #include "base/test/test_suite.h" | 11 #include "base/test/test_suite.h" |
| 12 #include "base/threading/sequenced_worker_pool.h" | 12 #include "base/threading/sequenced_worker_pool.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "content/browser/gpu/gpu_process_host.h" | 14 #include "content/browser/gpu/gpu_process_host.h" |
| 15 #include "content/browser/renderer_host/render_process_host_impl.h" | 15 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 16 #include "content/browser/utility_process_host_impl.h" | 16 #include "content/browser/utility_process_host_impl.h" |
| 17 #include "content/common/url_schemes.h" | 17 #include "content/common/url_schemes.h" |
| 18 #include "content/gpu/in_process_gpu_thread.h" | 18 #include "content/gpu/in_process_gpu_thread.h" |
| 19 #include "content/public/common/content_client.h" | 19 #include "content/public/common/content_client.h" |
| 20 #include "content/renderer/in_process_renderer_thread.h" | 20 #include "content/renderer/in_process_renderer_thread.h" |
| 21 #include "content/utility/in_process_utility_thread.h" | 21 #include "content/utility/in_process_utility_thread.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
| 23 #include "ui/base/material_design/material_design_controller.h" | 23 #include "ui/base/material_design/material_design_controller.h" |
| 24 #include "ui/base/ui_base_paths.h" | 24 #include "ui/base/ui_base_paths.h" |
| 25 | 25 |
| 26 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) | 26 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
| 27 #include "gin/v8_initializer.h" | 27 #include "gin/v8_initializer.h" // nogncheck |
| 28 #endif | 28 #endif |
| 29 | 29 |
| 30 #if defined(OS_ANDROID) | 30 #if defined(OS_ANDROID) |
| 31 #include "base/android/jni_android.h" | 31 #include "base/android/jni_android.h" |
| 32 #include "content/browser/android/browser_jni_registrar.h" | 32 #include "content/browser/android/browser_jni_registrar.h" |
| 33 #include "content/common/android/common_jni_registrar.h" | 33 #include "content/common/android/common_jni_registrar.h" |
| 34 #include "device/geolocation/android/geolocation_jni_registrar.h" | 34 #include "device/geolocation/android/geolocation_jni_registrar.h" |
| 35 #include "media/base/android/media_jni_registrar.h" | 35 #include "media/base/android/media_jni_registrar.h" |
| 36 #include "media/capture/video/android/capture_jni_registrar.h" | 36 #include "media/capture/video/android/capture_jni_registrar.h" |
| 37 #include "net/android/net_jni_registrar.h" | 37 #include "net/android/net_jni_registrar.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 void ContentTestSuiteBase::RegisterInProcessThreads() { | 102 void ContentTestSuiteBase::RegisterInProcessThreads() { |
| 103 UtilityProcessHostImpl::RegisterUtilityMainThreadFactory( | 103 UtilityProcessHostImpl::RegisterUtilityMainThreadFactory( |
| 104 CreateInProcessUtilityThread); | 104 CreateInProcessUtilityThread); |
| 105 RenderProcessHostImpl::RegisterRendererMainThreadFactory( | 105 RenderProcessHostImpl::RegisterRendererMainThreadFactory( |
| 106 CreateInProcessRendererThread); | 106 CreateInProcessRendererThread); |
| 107 GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThread); | 107 GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThread); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace content | 110 } // namespace content |
| OLD | NEW |