| 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 1872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1883 switches::kEnableUseZoomForDSF, | 1883 switches::kEnableUseZoomForDSF, |
| 1884 switches::kEnableViewport, | 1884 switches::kEnableViewport, |
| 1885 switches::kEnableVp9InMp4, | 1885 switches::kEnableVp9InMp4, |
| 1886 switches::kEnableVtune, | 1886 switches::kEnableVtune, |
| 1887 switches::kEnableWebFontsInterventionTrigger, | 1887 switches::kEnableWebFontsInterventionTrigger, |
| 1888 switches::kEnableWebFontsInterventionV2, | 1888 switches::kEnableWebFontsInterventionV2, |
| 1889 switches::kEnableWebGLDraftExtensions, | 1889 switches::kEnableWebGLDraftExtensions, |
| 1890 switches::kEnableWebGLImageChromium, | 1890 switches::kEnableWebGLImageChromium, |
| 1891 switches::kEnableWebVR, | 1891 switches::kEnableWebVR, |
| 1892 switches::kExplicitlyAllowedPorts, | 1892 switches::kExplicitlyAllowedPorts, |
| 1893 switches::kForceColorProfile, |
| 1893 switches::kForceDeviceScaleFactor, | 1894 switches::kForceDeviceScaleFactor, |
| 1894 switches::kForceDisplayList2dCanvas, | 1895 switches::kForceDisplayList2dCanvas, |
| 1895 switches::kForceGpuMemAvailableMb, | 1896 switches::kForceGpuMemAvailableMb, |
| 1896 switches::kForceGpuRasterization, | 1897 switches::kForceGpuRasterization, |
| 1897 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1898 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
| 1898 switches::kForceOverlayFullscreenVideo, | 1899 switches::kForceOverlayFullscreenVideo, |
| 1899 switches::kFullMemoryCrashReport, | 1900 switches::kFullMemoryCrashReport, |
| 1900 switches::kIgnoreAutoplayRestrictionsForTests, | 1901 switches::kIgnoreAutoplayRestrictionsForTests, |
| 1901 switches::kInertVisualViewport, | 1902 switches::kInertVisualViewport, |
| 1902 switches::kIPCConnectionTimeout, | 1903 switches::kIPCConnectionTimeout, |
| (...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3271 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3272 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3272 | 3273 |
| 3273 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3274 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3274 // Capture the error message in a crash key value. | 3275 // Capture the error message in a crash key value. |
| 3275 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3276 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3276 bad_message::ReceivedBadMessage(render_process_id, | 3277 bad_message::ReceivedBadMessage(render_process_id, |
| 3277 bad_message::RPH_MOJO_PROCESS_ERROR); | 3278 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3278 } | 3279 } |
| 3279 | 3280 |
| 3280 } // namespace content | 3281 } // namespace content |
| OLD | NEW |