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