| 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 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1834 switches::kForceDeviceScaleFactor, | 1834 switches::kForceDeviceScaleFactor, |
| 1835 switches::kForceDisplayList2dCanvas, | 1835 switches::kForceDisplayList2dCanvas, |
| 1836 switches::kForceGpuMemAvailableMb, | 1836 switches::kForceGpuMemAvailableMb, |
| 1837 switches::kForceGpuRasterization, | 1837 switches::kForceGpuRasterization, |
| 1838 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1838 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
| 1839 switches::kForceOverlayFullscreenVideo, | 1839 switches::kForceOverlayFullscreenVideo, |
| 1840 switches::kFullMemoryCrashReport, | 1840 switches::kFullMemoryCrashReport, |
| 1841 switches::kIgnoreAutoplayRestrictionsForTests, | 1841 switches::kIgnoreAutoplayRestrictionsForTests, |
| 1842 switches::kInertVisualViewport, | 1842 switches::kInertVisualViewport, |
| 1843 switches::kIPCConnectionTimeout, | 1843 switches::kIPCConnectionTimeout, |
| 1844 switches::kIsolateOrigins, |
| 1844 switches::kIsRunningInMash, | 1845 switches::kIsRunningInMash, |
| 1845 switches::kJavaScriptFlags, | 1846 switches::kJavaScriptFlags, |
| 1846 switches::kLoggingLevel, | 1847 switches::kLoggingLevel, |
| 1847 switches::kMainFrameResizesAreOrientationChanges, | 1848 switches::kMainFrameResizesAreOrientationChanges, |
| 1848 switches::kMaxUntiledLayerWidth, | 1849 switches::kMaxUntiledLayerWidth, |
| 1849 switches::kMaxUntiledLayerHeight, | 1850 switches::kMaxUntiledLayerHeight, |
| 1850 switches::kMemoryMetrics, | 1851 switches::kMemoryMetrics, |
| 1851 switches::kMojoLocalStorage, | 1852 switches::kMojoLocalStorage, |
| 1852 switches::kMSEAudioBufferSizeLimit, | 1853 switches::kMSEAudioBufferSizeLimit, |
| 1853 switches::kMSEVideoBufferSizeLimit, | 1854 switches::kMSEVideoBufferSizeLimit, |
| (...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3132 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3133 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3133 | 3134 |
| 3134 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3135 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3135 // Capture the error message in a crash key value. | 3136 // Capture the error message in a crash key value. |
| 3136 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3137 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3137 bad_message::ReceivedBadMessage(render_process_id, | 3138 bad_message::ReceivedBadMessage(render_process_id, |
| 3138 bad_message::RPH_MOJO_PROCESS_ERROR); | 3139 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3139 } | 3140 } |
| 3140 | 3141 |
| 3141 } // namespace content | 3142 } // namespace content |
| OLD | NEW |