| 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 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1858 cc::switches::kSlowDownRasterScaleFactor, | 1858 cc::switches::kSlowDownRasterScaleFactor, |
| 1859 cc::switches::kBrowserControlsHideThreshold, | 1859 cc::switches::kBrowserControlsHideThreshold, |
| 1860 cc::switches::kBrowserControlsShowThreshold, | 1860 cc::switches::kBrowserControlsShowThreshold, |
| 1861 | 1861 |
| 1862 #if BUILDFLAG(ENABLE_PLUGINS) | 1862 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1863 switches::kEnablePepperTesting, | 1863 switches::kEnablePepperTesting, |
| 1864 #endif | 1864 #endif |
| 1865 #if BUILDFLAG(ENABLE_WEBRTC) | 1865 #if BUILDFLAG(ENABLE_WEBRTC) |
| 1866 switches::kDisableWebRtcHWDecoding, | 1866 switches::kDisableWebRtcHWDecoding, |
| 1867 switches::kDisableWebRtcHWEncoding, | 1867 switches::kDisableWebRtcHWEncoding, |
| 1868 switches::kEnableWebRtcGcm, |
| 1868 switches::kEnableWebRtcStunOrigin, | 1869 switches::kEnableWebRtcStunOrigin, |
| 1869 switches::kEnforceWebRtcIPPermissionCheck, | 1870 switches::kEnforceWebRtcIPPermissionCheck, |
| 1870 switches::kForceWebRtcIPHandlingPolicy, | 1871 switches::kForceWebRtcIPHandlingPolicy, |
| 1871 switches::kWebRtcMaxCaptureFramerate, | 1872 switches::kWebRtcMaxCaptureFramerate, |
| 1872 #endif | 1873 #endif |
| 1873 switches::kEnableLowEndDeviceMode, | 1874 switches::kEnableLowEndDeviceMode, |
| 1874 switches::kDisableLowEndDeviceMode, | 1875 switches::kDisableLowEndDeviceMode, |
| 1875 #if defined(OS_ANDROID) | 1876 #if defined(OS_ANDROID) |
| 1876 switches::kDisableMediaSessionAPI, | 1877 switches::kDisableMediaSessionAPI, |
| 1877 switches::kEnableContentIntentDetection, | 1878 switches::kEnableContentIntentDetection, |
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3072 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3072 | 3073 |
| 3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3074 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3074 // Capture the error message in a crash key value. | 3075 // Capture the error message in a crash key value. |
| 3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3076 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3076 bad_message::ReceivedBadMessage(render_process_id, | 3077 bad_message::ReceivedBadMessage(render_process_id, |
| 3077 bad_message::RPH_MOJO_PROCESS_ERROR); | 3078 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3078 } | 3079 } |
| 3079 | 3080 |
| 3080 } // namespace content | 3081 } // namespace content |
| OLD | NEW |