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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/feature_list.h" | 16 #include "base/feature_list.h" |
17 #include "base/location.h" | 17 #include "base/location.h" |
18 #include "base/logging.h" | 18 #include "base/logging.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/memory_coordinator_proxy.h" | 20 #include "base/memory/memory_coordinator_proxy.h" |
21 #include "base/memory/memory_pressure_monitor.h" | 21 #include "base/memory/memory_pressure_monitor.h" |
22 #include "base/memory/ptr_util.h" | 22 #include "base/memory/ptr_util.h" |
| 23 #include "base/message_loop/message_loop.h" |
23 #include "base/metrics/field_trial.h" | 24 #include "base/metrics/field_trial.h" |
24 #include "base/metrics/histogram_macros.h" | 25 #include "base/metrics/histogram_macros.h" |
25 #include "base/metrics/user_metrics.h" | 26 #include "base/metrics/user_metrics.h" |
26 #include "base/pending_task.h" | 27 #include "base/pending_task.h" |
27 #include "base/power_monitor/power_monitor.h" | 28 #include "base/power_monitor/power_monitor.h" |
28 #include "base/power_monitor/power_monitor_device_source.h" | 29 #include "base/power_monitor/power_monitor_device_source.h" |
29 #include "base/process/process_metrics.h" | 30 #include "base/process/process_metrics.h" |
30 #include "base/run_loop.h" | 31 #include "base/run_loop.h" |
31 #include "base/single_thread_task_runner.h" | 32 #include "base/single_thread_task_runner.h" |
32 #include "base/strings/string_number_conversions.h" | 33 #include "base/strings/string_number_conversions.h" |
(...skipping 1738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1771 BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE), | 1772 BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE), |
1772 MediaInternals::GetInstance()); | 1773 MediaInternals::GetInstance()); |
1773 } | 1774 } |
1774 CHECK(audio_manager_); | 1775 CHECK(audio_manager_); |
1775 | 1776 |
1776 audio_system_ = media::AudioSystemImpl::Create(audio_manager_.get()); | 1777 audio_system_ = media::AudioSystemImpl::Create(audio_manager_.get()); |
1777 CHECK(audio_system_); | 1778 CHECK(audio_system_); |
1778 } | 1779 } |
1779 | 1780 |
1780 } // namespace content | 1781 } // namespace content |
OLD | NEW |