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 13 matching lines...) Expand all Loading... |
24 #include "base/pending_task.h" | 24 #include "base/pending_task.h" |
25 #include "base/power_monitor/power_monitor.h" | 25 #include "base/power_monitor/power_monitor.h" |
26 #include "base/power_monitor/power_monitor_device_source.h" | 26 #include "base/power_monitor/power_monitor_device_source.h" |
27 #include "base/process/process_metrics.h" | 27 #include "base/process/process_metrics.h" |
28 #include "base/profiler/scoped_profile.h" | 28 #include "base/profiler/scoped_profile.h" |
29 #include "base/run_loop.h" | 29 #include "base/run_loop.h" |
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/thread_task_runner_handle.h" | |
35 #include "base/threading/thread_restrictions.h" | 34 #include "base/threading/thread_restrictions.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/process_metrics_memory_dump_provider.h" |
41 #include "components/tracing/trace_config_file.h" | 41 #include "components/tracing/trace_config_file.h" |
42 #include "components/tracing/trace_to_console.h" | 42 #include "components/tracing/trace_to_console.h" |
43 #include "components/tracing/tracing_switches.h" | 43 #include "components/tracing/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" |
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 std::move(worker_task_runner), | 1541 std::move(worker_task_runner), |
1542 MediaInternals::GetInstance()); | 1542 MediaInternals::GetInstance()); |
1543 } | 1543 } |
1544 CHECK(audio_manager_); | 1544 CHECK(audio_manager_); |
1545 | 1545 |
1546 if (use_hang_monitor) | 1546 if (use_hang_monitor) |
1547 media::AudioManager::StartHangMonitor(io_thread_->task_runner()); | 1547 media::AudioManager::StartHangMonitor(io_thread_->task_runner()); |
1548 } | 1548 } |
1549 | 1549 |
1550 } // namespace content | 1550 } // namespace content |
OLD | NEW |