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/browser/browser_main_loop.h" | 5 #include "content/browser/browser_main_loop.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "base/single_thread_task_runner.h" | 30 #include "base/single_thread_task_runner.h" |
31 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
32 #include "base/strings/string_split.h" | 32 #include "base/strings/string_split.h" |
33 #include "base/system_monitor/system_monitor.h" | 33 #include "base/system_monitor/system_monitor.h" |
34 #include "base/threading/thread_restrictions.h" | 34 #include "base/threading/thread_restrictions.h" |
35 #include "base/threading/thread_task_runner_handle.h" | 35 #include "base/threading/thread_task_runner_handle.h" |
36 #include "base/timer/hi_res_timer_manager.h" | 36 #include "base/timer/hi_res_timer_manager.h" |
37 #include "base/trace_event/memory_dump_manager.h" | 37 #include "base/trace_event/memory_dump_manager.h" |
38 #include "base/trace_event/trace_event.h" | 38 #include "base/trace_event/trace_event.h" |
39 #include "build/build_config.h" | 39 #include "build/build_config.h" |
40 #include "components/tracing/process_metrics_memory_dump_provider.h" | 40 #include "components/tracing/browser/trace_config_file.h" |
41 #include "components/tracing/trace_config_file.h" | 41 #include "components/tracing/common/process_metrics_memory_dump_provider.h" |
42 #include "components/tracing/trace_to_console.h" | 42 #include "components/tracing/common/trace_to_console.h" |
43 #include "components/tracing/tracing_switches.h" | 43 #include "components/tracing/common/tracing_switches.h" |
44 #include "content/browser/browser_thread_impl.h" | 44 #include "content/browser/browser_thread_impl.h" |
45 #include "content/browser/device_sensors/device_inertial_sensor_service.h" | 45 #include "content/browser/device_sensors/device_inertial_sensor_service.h" |
46 #include "content/browser/dom_storage/dom_storage_area.h" | 46 #include "content/browser/dom_storage/dom_storage_area.h" |
47 #include "content/browser/download/save_file_manager.h" | 47 #include "content/browser/download/save_file_manager.h" |
48 #include "content/browser/gamepad/gamepad_service.h" | 48 #include "content/browser/gamepad/gamepad_service.h" |
49 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" | 49 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
50 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | 50 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
51 #include "content/browser/gpu/compositor_util.h" | 51 #include "content/browser/gpu/compositor_util.h" |
52 #include "content/browser/gpu/gpu_data_manager_impl.h" | 52 #include "content/browser/gpu/gpu_data_manager_impl.h" |
53 #include "content/browser/gpu/gpu_process_host.h" | 53 #include "content/browser/gpu/gpu_process_host.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 #include "content/browser/compositor/image_transport_factory.h" | 94 #include "content/browser/compositor/image_transport_factory.h" |
95 #endif | 95 #endif |
96 | 96 |
97 #if defined(USE_AURA) | 97 #if defined(USE_AURA) |
98 #include "content/public/browser/context_factory.h" | 98 #include "content/public/browser/context_factory.h" |
99 #include "ui/aura/env.h" | 99 #include "ui/aura/env.h" |
100 #endif | 100 #endif |
101 | 101 |
102 #if defined(OS_ANDROID) | 102 #if defined(OS_ANDROID) |
103 #include "base/android/jni_android.h" | 103 #include "base/android/jni_android.h" |
104 #include "components/tracing/graphics_memory_dump_provider_android.h" | 104 #include "components/tracing/common/graphics_memory_dump_provider_android.h" |
105 #include "content/browser/android/browser_startup_controller.h" | 105 #include "content/browser/android/browser_startup_controller.h" |
106 #include "content/browser/android/browser_surface_texture_manager.h" | 106 #include "content/browser/android/browser_surface_texture_manager.h" |
107 #include "content/browser/android/tracing_controller_android.h" | 107 #include "content/browser/android/tracing_controller_android.h" |
108 #include "content/browser/media/android/browser_media_player_manager.h" | 108 #include "content/browser/media/android/browser_media_player_manager.h" |
109 #include "content/browser/screen_orientation/screen_orientation_delegate_android
.h" | 109 #include "content/browser/screen_orientation/screen_orientation_delegate_android
.h" |
110 #include "content/public/browser/screen_orientation_provider.h" | 110 #include "content/public/browser/screen_orientation_provider.h" |
111 #include "gpu/ipc/client/android/in_process_surface_texture_manager.h" | 111 #include "gpu/ipc/client/android/in_process_surface_texture_manager.h" |
112 #include "ui/gl/gl_surface.h" | 112 #include "ui/gl/gl_surface.h" |
113 #endif | 113 #endif |
114 | 114 |
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1546 std::move(worker_task_runner), | 1546 std::move(worker_task_runner), |
1547 MediaInternals::GetInstance()); | 1547 MediaInternals::GetInstance()); |
1548 } | 1548 } |
1549 CHECK(audio_manager_); | 1549 CHECK(audio_manager_); |
1550 | 1550 |
1551 if (use_hang_monitor) | 1551 if (use_hang_monitor) |
1552 media::AudioManager::StartHangMonitor(io_thread_->task_runner()); | 1552 media::AudioManager::StartHangMonitor(io_thread_->task_runner()); |
1553 } | 1553 } |
1554 | 1554 |
1555 } // namespace content | 1555 } // namespace content |
OLD | NEW |