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 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 switches::kEnableUseZoomForDSF, | 1805 switches::kEnableUseZoomForDSF, |
1806 switches::kEnableViewport, | 1806 switches::kEnableViewport, |
1807 switches::kEnableVp9InMp4, | 1807 switches::kEnableVp9InMp4, |
1808 switches::kEnableVtune, | 1808 switches::kEnableVtune, |
1809 switches::kEnableWebFontsInterventionTrigger, | 1809 switches::kEnableWebFontsInterventionTrigger, |
1810 switches::kEnableWebFontsInterventionV2, | 1810 switches::kEnableWebFontsInterventionV2, |
1811 switches::kEnableWebGLDraftExtensions, | 1811 switches::kEnableWebGLDraftExtensions, |
1812 switches::kEnableWebGLImageChromium, | 1812 switches::kEnableWebGLImageChromium, |
1813 switches::kEnableWebVR, | 1813 switches::kEnableWebVR, |
1814 switches::kExplicitlyAllowedPorts, | 1814 switches::kExplicitlyAllowedPorts, |
| 1815 switches::kForceColorProfile, |
1815 switches::kForceDeviceScaleFactor, | 1816 switches::kForceDeviceScaleFactor, |
1816 switches::kForceDisplayList2dCanvas, | 1817 switches::kForceDisplayList2dCanvas, |
1817 switches::kForceGpuMemAvailableMb, | 1818 switches::kForceGpuMemAvailableMb, |
1818 switches::kForceGpuRasterization, | 1819 switches::kForceGpuRasterization, |
1819 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1820 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
1820 switches::kForceOverlayFullscreenVideo, | 1821 switches::kForceOverlayFullscreenVideo, |
1821 switches::kFullMemoryCrashReport, | 1822 switches::kFullMemoryCrashReport, |
1822 switches::kIgnoreAutoplayRestrictionsForTests, | 1823 switches::kIgnoreAutoplayRestrictionsForTests, |
1823 switches::kInertVisualViewport, | 1824 switches::kInertVisualViewport, |
1824 switches::kIPCConnectionTimeout, | 1825 switches::kIPCConnectionTimeout, |
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3112 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3113 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3113 | 3114 |
3114 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3115 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3115 // Capture the error message in a crash key value. | 3116 // Capture the error message in a crash key value. |
3116 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3117 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3117 bad_message::ReceivedBadMessage(render_process_id, | 3118 bad_message::ReceivedBadMessage(render_process_id, |
3118 bad_message::RPH_MOJO_PROCESS_ERROR); | 3119 bad_message::RPH_MOJO_PROCESS_ERROR); |
3119 } | 3120 } |
3120 | 3121 |
3121 } // namespace content | 3122 } // namespace content |
OLD | NEW |