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 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1785 cc::switches::kShowSurfaceDamageRects, | 1785 cc::switches::kShowSurfaceDamageRects, |
1786 cc::switches::kSlowDownRasterScaleFactor, | 1786 cc::switches::kSlowDownRasterScaleFactor, |
1787 cc::switches::kBrowserControlsHideThreshold, | 1787 cc::switches::kBrowserControlsHideThreshold, |
1788 cc::switches::kBrowserControlsShowThreshold, | 1788 cc::switches::kBrowserControlsShowThreshold, |
1789 | 1789 |
1790 #if BUILDFLAG(ENABLE_PLUGINS) | 1790 #if BUILDFLAG(ENABLE_PLUGINS) |
1791 switches::kEnablePepperTesting, | 1791 switches::kEnablePepperTesting, |
1792 #endif | 1792 #endif |
1793 #if BUILDFLAG(ENABLE_WEBRTC) | 1793 #if BUILDFLAG(ENABLE_WEBRTC) |
1794 switches::kDisableWebRtcHWDecoding, | 1794 switches::kDisableWebRtcHWDecoding, |
1795 switches::kDisableWebRtcHWEncoding, | 1795 switches::kDisableWebRtcHWVP8Encoding, |
1796 switches::kEnableWebRtcStunOrigin, | 1796 switches::kEnableWebRtcStunOrigin, |
1797 switches::kEnforceWebRtcIPPermissionCheck, | 1797 switches::kEnforceWebRtcIPPermissionCheck, |
1798 switches::kForceWebRtcIPHandlingPolicy, | 1798 switches::kForceWebRtcIPHandlingPolicy, |
1799 switches::kWebRtcMaxCaptureFramerate, | 1799 switches::kWebRtcMaxCaptureFramerate, |
1800 #endif | 1800 #endif |
1801 switches::kEnableLowEndDeviceMode, | 1801 switches::kEnableLowEndDeviceMode, |
1802 switches::kDisableLowEndDeviceMode, | 1802 switches::kDisableLowEndDeviceMode, |
1803 #if defined(OS_ANDROID) | 1803 #if defined(OS_ANDROID) |
1804 switches::kDisableUnifiedMediaPipeline, | 1804 switches::kDisableUnifiedMediaPipeline, |
1805 switches::kEnableContentIntentDetection, | 1805 switches::kEnableContentIntentDetection, |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3006 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3006 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3007 | 3007 |
3008 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 3008 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
3009 // enough information here so that we can determine what the bad message was. | 3009 // enough information here so that we can determine what the bad message was. |
3010 base::debug::Alias(&error); | 3010 base::debug::Alias(&error); |
3011 bad_message::ReceivedBadMessage(render_process_id, | 3011 bad_message::ReceivedBadMessage(render_process_id, |
3012 bad_message::RPH_MOJO_PROCESS_ERROR); | 3012 bad_message::RPH_MOJO_PROCESS_ERROR); |
3013 } | 3013 } |
3014 | 3014 |
3015 } // namespace content | 3015 } // namespace content |
OLD | NEW |