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 // 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 16 matching lines...) Expand all Loading... | |
27 #include "base/stl_util.h" | 27 #include "base/stl_util.h" |
28 #include "base/strings/string_number_conversions.h" | 28 #include "base/strings/string_number_conversions.h" |
29 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
30 #include "base/supports_user_data.h" | 30 #include "base/supports_user_data.h" |
31 #include "base/sys_info.h" | 31 #include "base/sys_info.h" |
32 #include "base/threading/thread.h" | 32 #include "base/threading/thread.h" |
33 #include "base/threading/thread_restrictions.h" | 33 #include "base/threading/thread_restrictions.h" |
34 #include "base/trace_event/trace_event.h" | 34 #include "base/trace_event/trace_event.h" |
35 #include "base/tracked_objects.h" | 35 #include "base/tracked_objects.h" |
36 #include "cc/base/switches.h" | 36 #include "cc/base/switches.h" |
37 #include "chrome/common/chrome_switches.h" | |
Paritosh Kumar
2015/03/26 09:25:34
This violates checdeps rule. Illegal Include.
tyoshino (SeeGerritForStatus)
2015/03/30 06:41:01
Yea. It violates the dependency rule. Maybe we nee
eroman
2015/03/30 19:40:02
I believe what you want is content_switches.h
tyoshino (SeeGerritForStatus)
2015/03/31 04:45:41
Do you mean adding a new flag definition to conten
Paritosh Kumar
2015/04/01 13:38:05
Adding kExplicitlyAllowedPorts flag definition to
| |
37 #include "content/browser/appcache/appcache_dispatcher_host.h" | 38 #include "content/browser/appcache/appcache_dispatcher_host.h" |
38 #include "content/browser/appcache/chrome_appcache_service.h" | 39 #include "content/browser/appcache/chrome_appcache_service.h" |
39 #include "content/browser/bad_message.h" | 40 #include "content/browser/bad_message.h" |
40 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" | 41 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" |
41 #include "content/browser/browser_child_process_host_impl.h" | 42 #include "content/browser/browser_child_process_host_impl.h" |
42 #include "content/browser/browser_main.h" | 43 #include "content/browser/browser_main.h" |
43 #include "content/browser/browser_main_loop.h" | 44 #include "content/browser/browser_main_loop.h" |
44 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" | 45 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
45 #include "content/browser/child_process_security_policy_impl.h" | 46 #include "content/browser/child_process_security_policy_impl.h" |
46 #include "content/browser/device_sensors/device_light_message_filter.h" | 47 #include "content/browser/device_sensors/device_light_message_filter.h" |
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1298 switches::kEnableStrictSiteIsolation, | 1299 switches::kEnableStrictSiteIsolation, |
1299 switches::kEnableThreadedCompositing, | 1300 switches::kEnableThreadedCompositing, |
1300 switches::kEnableTouchDragDrop, | 1301 switches::kEnableTouchDragDrop, |
1301 switches::kEnableTouchEditing, | 1302 switches::kEnableTouchEditing, |
1302 switches::kEnableUnsafeES3APIs, | 1303 switches::kEnableUnsafeES3APIs, |
1303 switches::kEnableViewport, | 1304 switches::kEnableViewport, |
1304 switches::kEnableViewportMeta, | 1305 switches::kEnableViewportMeta, |
1305 switches::kEnableVtune, | 1306 switches::kEnableVtune, |
1306 switches::kEnableWebGLDraftExtensions, | 1307 switches::kEnableWebGLDraftExtensions, |
1307 switches::kEnableWebGLImageChromium, | 1308 switches::kEnableWebGLImageChromium, |
1309 switches::kExplicitlyAllowedPorts, | |
1308 switches::kForceDeviceScaleFactor, | 1310 switches::kForceDeviceScaleFactor, |
1309 switches::kForceDisplayList2dCanvas, | 1311 switches::kForceDisplayList2dCanvas, |
1310 switches::kFullMemoryCrashReport, | 1312 switches::kFullMemoryCrashReport, |
1311 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, | 1313 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, |
1312 switches::kIPCConnectionTimeout, | 1314 switches::kIPCConnectionTimeout, |
1313 switches::kJavaScriptFlags, | 1315 switches::kJavaScriptFlags, |
1314 switches::kLoggingLevel, | 1316 switches::kLoggingLevel, |
1315 switches::kMainFrameResizesAreOrientationChanges, | 1317 switches::kMainFrameResizesAreOrientationChanges, |
1316 switches::kMaxUntiledLayerWidth, | 1318 switches::kMaxUntiledLayerWidth, |
1317 switches::kMaxUntiledLayerHeight, | 1319 switches::kMaxUntiledLayerHeight, |
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2485 if (worker_ref_count_ == 0) | 2487 if (worker_ref_count_ == 0) |
2486 Cleanup(); | 2488 Cleanup(); |
2487 } | 2489 } |
2488 | 2490 |
2489 void RenderProcessHostImpl::GetAudioOutputControllers( | 2491 void RenderProcessHostImpl::GetAudioOutputControllers( |
2490 const GetAudioOutputControllersCallback& callback) const { | 2492 const GetAudioOutputControllersCallback& callback) const { |
2491 audio_renderer_host()->GetOutputControllers(callback); | 2493 audio_renderer_host()->GetOutputControllers(callback); |
2492 } | 2494 } |
2493 | 2495 |
2494 } // namespace content | 2496 } // namespace content |
OLD | NEW |