| 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 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 cc::switches::kSlowDownRasterScaleFactor, | 1849 cc::switches::kSlowDownRasterScaleFactor, |
| 1850 cc::switches::kBrowserControlsHideThreshold, | 1850 cc::switches::kBrowserControlsHideThreshold, |
| 1851 cc::switches::kBrowserControlsShowThreshold, | 1851 cc::switches::kBrowserControlsShowThreshold, |
| 1852 | 1852 |
| 1853 #if BUILDFLAG(ENABLE_PLUGINS) | 1853 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1854 switches::kEnablePepperTesting, | 1854 switches::kEnablePepperTesting, |
| 1855 #endif | 1855 #endif |
| 1856 #if BUILDFLAG(ENABLE_WEBRTC) | 1856 #if BUILDFLAG(ENABLE_WEBRTC) |
| 1857 switches::kDisableWebRtcHWDecoding, | 1857 switches::kDisableWebRtcHWDecoding, |
| 1858 switches::kDisableWebRtcHWEncoding, | 1858 switches::kDisableWebRtcHWEncoding, |
| 1859 switches::kEnableWebRtcSrtpAesGcm, |
| 1859 switches::kEnableWebRtcStunOrigin, | 1860 switches::kEnableWebRtcStunOrigin, |
| 1860 switches::kEnforceWebRtcIPPermissionCheck, | 1861 switches::kEnforceWebRtcIPPermissionCheck, |
| 1861 switches::kForceWebRtcIPHandlingPolicy, | 1862 switches::kForceWebRtcIPHandlingPolicy, |
| 1862 switches::kWebRtcMaxCaptureFramerate, | 1863 switches::kWebRtcMaxCaptureFramerate, |
| 1863 #endif | 1864 #endif |
| 1864 switches::kEnableLowEndDeviceMode, | 1865 switches::kEnableLowEndDeviceMode, |
| 1865 switches::kDisableLowEndDeviceMode, | 1866 switches::kDisableLowEndDeviceMode, |
| 1866 #if defined(OS_ANDROID) | 1867 #if defined(OS_ANDROID) |
| 1867 switches::kDisableMediaSessionAPI, | 1868 switches::kDisableMediaSessionAPI, |
| 1868 switches::kEnableContentIntentDetection, | 1869 switches::kEnableContentIntentDetection, |
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3062 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3063 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3063 | 3064 |
| 3064 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3065 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3065 // Capture the error message in a crash key value. | 3066 // Capture the error message in a crash key value. |
| 3066 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3067 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3067 bad_message::ReceivedBadMessage(render_process_id, | 3068 bad_message::ReceivedBadMessage(render_process_id, |
| 3068 bad_message::RPH_MOJO_PROCESS_ERROR); | 3069 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3069 } | 3070 } |
| 3070 | 3071 |
| 3071 } // namespace content | 3072 } // namespace content |
| OLD | NEW |