| 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 1756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1767 switches::kDisableWebRtcHWEncoding, | 1767 switches::kDisableWebRtcHWEncoding, |
| 1768 switches::kEnableWebRtcStunOrigin, | 1768 switches::kEnableWebRtcStunOrigin, |
| 1769 switches::kEnforceWebRtcIPPermissionCheck, | 1769 switches::kEnforceWebRtcIPPermissionCheck, |
| 1770 switches::kForceWebRtcIPHandlingPolicy, | 1770 switches::kForceWebRtcIPHandlingPolicy, |
| 1771 switches::kWebRtcMaxCaptureFramerate, | 1771 switches::kWebRtcMaxCaptureFramerate, |
| 1772 #endif | 1772 #endif |
| 1773 switches::kEnableLowEndDeviceMode, | 1773 switches::kEnableLowEndDeviceMode, |
| 1774 switches::kDisableLowEndDeviceMode, | 1774 switches::kDisableLowEndDeviceMode, |
| 1775 #if defined(OS_ANDROID) | 1775 #if defined(OS_ANDROID) |
| 1776 switches::kDisableUnifiedMediaPipeline, | 1776 switches::kDisableUnifiedMediaPipeline, |
| 1777 switches::kEnableContentIntentDetection, |
| 1777 switches::kRendererWaitForJavaDebugger, | 1778 switches::kRendererWaitForJavaDebugger, |
| 1778 #endif | 1779 #endif |
| 1779 #if defined(OS_MACOSX) | 1780 #if defined(OS_MACOSX) |
| 1780 // Allow this to be set when invoking the browser and relayed along. | 1781 // Allow this to be set when invoking the browser and relayed along. |
| 1781 switches::kEnableSandboxLogging, | 1782 switches::kEnableSandboxLogging, |
| 1782 #endif | 1783 #endif |
| 1783 #if defined(OS_WIN) | 1784 #if defined(OS_WIN) |
| 1784 switches::kDisableWin32kLockDown, | 1785 switches::kDisableWin32kLockDown, |
| 1785 switches::kEnableWin7WebRtcHWH264Decoding, | 1786 switches::kEnableWin7WebRtcHWH264Decoding, |
| 1786 switches::kTrySupportedChannelLayouts, | 1787 switches::kTrySupportedChannelLayouts, |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2977 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2978 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2978 | 2979 |
| 2979 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2980 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2980 // enough information here so that we can determine what the bad message was. | 2981 // enough information here so that we can determine what the bad message was. |
| 2981 base::debug::Alias(&error); | 2982 base::debug::Alias(&error); |
| 2982 bad_message::ReceivedBadMessage(render_process_id, | 2983 bad_message::ReceivedBadMessage(render_process_id, |
| 2983 bad_message::RPH_MOJO_PROCESS_ERROR); | 2984 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2984 } | 2985 } |
| 2985 | 2986 |
| 2986 } // namespace content | 2987 } // namespace content |
| OLD | NEW |