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 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 switches::kExplicitlyAllowedPorts, | 1778 switches::kExplicitlyAllowedPorts, |
1779 switches::kForceDeviceScaleFactor, | 1779 switches::kForceDeviceScaleFactor, |
1780 switches::kForceDisplayList2dCanvas, | 1780 switches::kForceDisplayList2dCanvas, |
1781 switches::kForceGpuMemAvailableMb, | 1781 switches::kForceGpuMemAvailableMb, |
1782 switches::kForceGpuRasterization, | 1782 switches::kForceGpuRasterization, |
1783 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1783 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
1784 switches::kForceOverlayFullscreenVideo, | 1784 switches::kForceOverlayFullscreenVideo, |
1785 switches::kFullMemoryCrashReport, | 1785 switches::kFullMemoryCrashReport, |
1786 switches::kInertVisualViewport, | 1786 switches::kInertVisualViewport, |
1787 switches::kIPCConnectionTimeout, | 1787 switches::kIPCConnectionTimeout, |
| 1788 switches::kIsolateOrigins, |
1788 switches::kIsRunningInMash, | 1789 switches::kIsRunningInMash, |
1789 switches::kJavaScriptFlags, | 1790 switches::kJavaScriptFlags, |
1790 switches::kLoggingLevel, | 1791 switches::kLoggingLevel, |
1791 switches::kMainFrameResizesAreOrientationChanges, | 1792 switches::kMainFrameResizesAreOrientationChanges, |
1792 switches::kMaxUntiledLayerWidth, | 1793 switches::kMaxUntiledLayerWidth, |
1793 switches::kMaxUntiledLayerHeight, | 1794 switches::kMaxUntiledLayerHeight, |
1794 switches::kMemoryMetrics, | 1795 switches::kMemoryMetrics, |
1795 switches::kMojoLocalStorage, | 1796 switches::kMojoLocalStorage, |
1796 switches::kMSEAudioBufferSizeLimit, | 1797 switches::kMSEAudioBufferSizeLimit, |
1797 switches::kMSEVideoBufferSizeLimit, | 1798 switches::kMSEVideoBufferSizeLimit, |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3083 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3084 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3084 | 3085 |
3085 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3086 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3086 // Capture the error message in a crash key value. | 3087 // Capture the error message in a crash key value. |
3087 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3088 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3088 bad_message::ReceivedBadMessage(render_process_id, | 3089 bad_message::ReceivedBadMessage(render_process_id, |
3089 bad_message::RPH_MOJO_PROCESS_ERROR); | 3090 bad_message::RPH_MOJO_PROCESS_ERROR); |
3090 } | 3091 } |
3091 | 3092 |
3092 } // namespace content | 3093 } // namespace content |
OLD | NEW |