| 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 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1863 switches::kDisableWebRtcHWEncoding, | 1863 switches::kDisableWebRtcHWEncoding, |
| 1864 switches::kEnableWebRtcStunOrigin, | 1864 switches::kEnableWebRtcStunOrigin, |
| 1865 switches::kEnforceWebRtcIPPermissionCheck, | 1865 switches::kEnforceWebRtcIPPermissionCheck, |
| 1866 switches::kForceWebRtcIPHandlingPolicy, | 1866 switches::kForceWebRtcIPHandlingPolicy, |
| 1867 switches::kWebRtcMaxCaptureFramerate, | 1867 switches::kWebRtcMaxCaptureFramerate, |
| 1868 #endif | 1868 #endif |
| 1869 switches::kEnableLowEndDeviceMode, | 1869 switches::kEnableLowEndDeviceMode, |
| 1870 switches::kDisableLowEndDeviceMode, | 1870 switches::kDisableLowEndDeviceMode, |
| 1871 #if defined(OS_ANDROID) | 1871 #if defined(OS_ANDROID) |
| 1872 switches::kDisableMediaSessionAPI, | 1872 switches::kDisableMediaSessionAPI, |
| 1873 switches::kDisableUnifiedMediaPipeline, | |
| 1874 switches::kEnableContentIntentDetection, | 1873 switches::kEnableContentIntentDetection, |
| 1875 switches::kRendererWaitForJavaDebugger, | 1874 switches::kRendererWaitForJavaDebugger, |
| 1876 #endif | 1875 #endif |
| 1877 #if defined(OS_MACOSX) | 1876 #if defined(OS_MACOSX) |
| 1878 // Allow this to be set when invoking the browser and relayed along. | 1877 // Allow this to be set when invoking the browser and relayed along. |
| 1879 switches::kEnableSandboxLogging, | 1878 switches::kEnableSandboxLogging, |
| 1880 #endif | 1879 #endif |
| 1881 #if defined(OS_WIN) | 1880 #if defined(OS_WIN) |
| 1882 switches::kDisableWin32kLockDown, | 1881 switches::kDisableWin32kLockDown, |
| 1883 switches::kEnableWin7WebRtcHWH264Decoding, | 1882 switches::kEnableWin7WebRtcHWH264Decoding, |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3073 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3072 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3074 | 3073 |
| 3075 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3074 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3076 // Capture the error message in a crash key value. | 3075 // Capture the error message in a crash key value. |
| 3077 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3076 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3078 bad_message::ReceivedBadMessage(render_process_id, | 3077 bad_message::ReceivedBadMessage(render_process_id, |
| 3079 bad_message::RPH_MOJO_PROCESS_ERROR); | 3078 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3080 } | 3079 } |
| 3081 | 3080 |
| 3082 } // namespace content | 3081 } // namespace content |
| OLD | NEW |