OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <limits> | 11 #include <limits> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/base_switches.h" | 14 #include "base/base_switches.h" |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/bind_helpers.h" | 16 #include "base/bind_helpers.h" |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
19 #include "base/debug/dump_without_crashing.h" | 19 #include "base/debug/dump_without_crashing.h" |
20 #include "base/files/file.h" | 20 #include "base/files/file.h" |
21 #include "base/lazy_instance.h" | 21 #include "base/lazy_instance.h" |
| 22 #include "base/location.h" |
22 #include "base/logging.h" | 23 #include "base/logging.h" |
23 #include "base/metrics/field_trial.h" | 24 #include "base/metrics/field_trial.h" |
24 #include "base/metrics/histogram.h" | 25 #include "base/metrics/histogram.h" |
25 #include "base/process/process_handle.h" | 26 #include "base/process/process_handle.h" |
26 #include "base/profiler/scoped_tracker.h" | 27 #include "base/profiler/scoped_tracker.h" |
27 #include "base/rand_util.h" | 28 #include "base/rand_util.h" |
| 29 #include "base/single_thread_task_runner.h" |
28 #include "base/stl_util.h" | 30 #include "base/stl_util.h" |
29 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
30 #include "base/strings/string_util.h" | 32 #include "base/strings/string_util.h" |
31 #include "base/supports_user_data.h" | 33 #include "base/supports_user_data.h" |
32 #include "base/sys_info.h" | 34 #include "base/sys_info.h" |
33 #include "base/threading/thread.h" | 35 #include "base/threading/thread.h" |
34 #include "base/threading/thread_restrictions.h" | 36 #include "base/threading/thread_restrictions.h" |
35 #include "base/trace_event/trace_event.h" | 37 #include "base/trace_event/trace_event.h" |
36 #include "base/tracked_objects.h" | 38 #include "base/tracked_objects.h" |
37 #include "cc/base/switches.h" | 39 #include "cc/base/switches.h" |
(...skipping 2463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2501 void RenderProcessHostImpl::GetAudioOutputControllers( | 2503 void RenderProcessHostImpl::GetAudioOutputControllers( |
2502 const GetAudioOutputControllersCallback& callback) const { | 2504 const GetAudioOutputControllersCallback& callback) const { |
2503 audio_renderer_host()->GetOutputControllers(callback); | 2505 audio_renderer_host()->GetOutputControllers(callback); |
2504 } | 2506 } |
2505 | 2507 |
2506 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2508 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2507 return bluetooth_dispatcher_host_.get(); | 2509 return bluetooth_dispatcher_host_.get(); |
2508 } | 2510 } |
2509 | 2511 |
2510 } // namespace content | 2512 } // namespace content |
OLD | NEW |