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> |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "base/single_thread_task_runner.h" | 29 #include "base/single_thread_task_runner.h" |
30 #include "base/stl_util.h" | 30 #include "base/stl_util.h" |
31 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
32 #include "base/supports_user_data.h" | 32 #include "base/supports_user_data.h" |
33 #include "base/sys_info.h" | 33 #include "base/sys_info.h" |
34 #include "base/threading/thread.h" | 34 #include "base/threading/thread.h" |
35 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
36 #include "base/trace_event/trace_event.h" | 36 #include "base/trace_event/trace_event.h" |
37 #include "base/tracked_objects.h" | 37 #include "base/tracked_objects.h" |
38 #include "cc/base/switches.h" | 38 #include "cc/base/switches.h" |
| 39 #include "components/dom_distiller/core/dom_distiller_switches.h" |
39 #include "components/tracing/tracing_switches.h" | 40 #include "components/tracing/tracing_switches.h" |
40 #include "content/browser/appcache/appcache_dispatcher_host.h" | 41 #include "content/browser/appcache/appcache_dispatcher_host.h" |
41 #include "content/browser/appcache/chrome_appcache_service.h" | 42 #include "content/browser/appcache/chrome_appcache_service.h" |
42 #include "content/browser/background_sync/background_sync_service_impl.h" | 43 #include "content/browser/background_sync/background_sync_service_impl.h" |
43 #include "content/browser/bad_message.h" | 44 #include "content/browser/bad_message.h" |
44 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" | 45 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" |
45 #include "content/browser/browser_child_process_host_impl.h" | 46 #include "content/browser/browser_child_process_host_impl.h" |
46 #include "content/browser/browser_main.h" | 47 #include "content/browser/browser_main.h" |
47 #include "content/browser/browser_main_loop.h" | 48 #include "content/browser/browser_main_loop.h" |
48 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" | 49 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 switches::kLoggingLevel, | 1320 switches::kLoggingLevel, |
1320 switches::kMainFrameResizesAreOrientationChanges, | 1321 switches::kMainFrameResizesAreOrientationChanges, |
1321 switches::kMaxUntiledLayerWidth, | 1322 switches::kMaxUntiledLayerWidth, |
1322 switches::kMaxUntiledLayerHeight, | 1323 switches::kMaxUntiledLayerHeight, |
1323 switches::kMemoryMetrics, | 1324 switches::kMemoryMetrics, |
1324 switches::kNoReferrers, | 1325 switches::kNoReferrers, |
1325 switches::kNoSandbox, | 1326 switches::kNoSandbox, |
1326 switches::kOverridePluginPowerSaverForTesting, | 1327 switches::kOverridePluginPowerSaverForTesting, |
1327 switches::kPpapiInProcess, | 1328 switches::kPpapiInProcess, |
1328 switches::kProfilerTiming, | 1329 switches::kProfilerTiming, |
| 1330 switches::kReaderModeHeuristics, |
1329 switches::kReducedReferrerGranularity, | 1331 switches::kReducedReferrerGranularity, |
1330 switches::kReduceSecurityForTesting, | 1332 switches::kReduceSecurityForTesting, |
1331 switches::kRegisterPepperPlugins, | 1333 switches::kRegisterPepperPlugins, |
1332 switches::kRendererStartupDialog, | 1334 switches::kRendererStartupDialog, |
1333 switches::kRootLayerScrolls, | 1335 switches::kRootLayerScrolls, |
1334 switches::kShowPaintRects, | 1336 switches::kShowPaintRects, |
1335 switches::kSitePerProcess, | 1337 switches::kSitePerProcess, |
1336 switches::kStatsCollectionController, | 1338 switches::kStatsCollectionController, |
1337 switches::kTestType, | 1339 switches::kTestType, |
1338 switches::kTouchEvents, | 1340 switches::kTouchEvents, |
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2533 void RenderProcessHostImpl::GetAudioOutputControllers( | 2535 void RenderProcessHostImpl::GetAudioOutputControllers( |
2534 const GetAudioOutputControllersCallback& callback) const { | 2536 const GetAudioOutputControllersCallback& callback) const { |
2535 audio_renderer_host()->GetOutputControllers(callback); | 2537 audio_renderer_host()->GetOutputControllers(callback); |
2536 } | 2538 } |
2537 | 2539 |
2538 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2540 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2539 return bluetooth_dispatcher_host_.get(); | 2541 return bluetooth_dispatcher_host_.get(); |
2540 } | 2542 } |
2541 | 2543 |
2542 } // namespace content | 2544 } // namespace content |
OLD | NEW |