| 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 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1848 switches::kEnableWebRtcSrtpAesGcm, | 1848 switches::kEnableWebRtcSrtpAesGcm, |
| 1849 switches::kEnableWebRtcStunOrigin, | 1849 switches::kEnableWebRtcStunOrigin, |
| 1850 switches::kEnforceWebRtcIPPermissionCheck, | 1850 switches::kEnforceWebRtcIPPermissionCheck, |
| 1851 switches::kForceWebRtcIPHandlingPolicy, | 1851 switches::kForceWebRtcIPHandlingPolicy, |
| 1852 switches::kWebRtcMaxCaptureFramerate, | 1852 switches::kWebRtcMaxCaptureFramerate, |
| 1853 #endif | 1853 #endif |
| 1854 switches::kEnableLowEndDeviceMode, | 1854 switches::kEnableLowEndDeviceMode, |
| 1855 switches::kDisableLowEndDeviceMode, | 1855 switches::kDisableLowEndDeviceMode, |
| 1856 #if defined(OS_ANDROID) | 1856 #if defined(OS_ANDROID) |
| 1857 switches::kDisableMediaSessionAPI, | 1857 switches::kDisableMediaSessionAPI, |
| 1858 switches::kEnableContentIntentDetection, | |
| 1859 switches::kRendererWaitForJavaDebugger, | 1858 switches::kRendererWaitForJavaDebugger, |
| 1860 #endif | 1859 #endif |
| 1861 #if defined(OS_MACOSX) | 1860 #if defined(OS_MACOSX) |
| 1862 // Allow this to be set when invoking the browser and relayed along. | 1861 // Allow this to be set when invoking the browser and relayed along. |
| 1863 switches::kEnableSandboxLogging, | 1862 switches::kEnableSandboxLogging, |
| 1864 #endif | 1863 #endif |
| 1865 #if defined(OS_WIN) | 1864 #if defined(OS_WIN) |
| 1866 switches::kDisableWin32kLockDown, | 1865 switches::kDisableWin32kLockDown, |
| 1867 switches::kEnableWin7WebRtcHWH264Decoding, | 1866 switches::kEnableWin7WebRtcHWH264Decoding, |
| 1868 switches::kTrySupportedChannelLayouts, | 1867 switches::kTrySupportedChannelLayouts, |
| (...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3060 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3059 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3061 | 3060 |
| 3062 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3061 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3063 // Capture the error message in a crash key value. | 3062 // Capture the error message in a crash key value. |
| 3064 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3063 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3065 bad_message::ReceivedBadMessage(render_process_id, | 3064 bad_message::ReceivedBadMessage(render_process_id, |
| 3066 bad_message::RPH_MOJO_PROCESS_ERROR); | 3065 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3067 } | 3066 } |
| 3068 | 3067 |
| 3069 } // namespace content | 3068 } // namespace content |
| OLD | NEW |