| 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 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1676 switches::kEnableWebFontsInterventionV2, | 1676 switches::kEnableWebFontsInterventionV2, |
| 1677 switches::kEnableWebGLDraftExtensions, | 1677 switches::kEnableWebGLDraftExtensions, |
| 1678 switches::kEnableWebGLImageChromium, | 1678 switches::kEnableWebGLImageChromium, |
| 1679 switches::kEnableWebVR, | 1679 switches::kEnableWebVR, |
| 1680 switches::kExplicitlyAllowedPorts, | 1680 switches::kExplicitlyAllowedPorts, |
| 1681 switches::kForceDeviceScaleFactor, | 1681 switches::kForceDeviceScaleFactor, |
| 1682 switches::kForceDisplayList2dCanvas, | 1682 switches::kForceDisplayList2dCanvas, |
| 1683 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1683 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
| 1684 switches::kForceOverlayFullscreenVideo, | 1684 switches::kForceOverlayFullscreenVideo, |
| 1685 switches::kFullMemoryCrashReport, | 1685 switches::kFullMemoryCrashReport, |
| 1686 switches::kHideScrollbars, | |
| 1687 switches::kInertVisualViewport, | 1686 switches::kInertVisualViewport, |
| 1688 switches::kIPCConnectionTimeout, | 1687 switches::kIPCConnectionTimeout, |
| 1689 switches::kIsRunningInMash, | 1688 switches::kIsRunningInMash, |
| 1690 switches::kJavaScriptFlags, | 1689 switches::kJavaScriptFlags, |
| 1691 switches::kLoggingLevel, | 1690 switches::kLoggingLevel, |
| 1692 switches::kMainFrameResizesAreOrientationChanges, | 1691 switches::kMainFrameResizesAreOrientationChanges, |
| 1693 switches::kMaxUntiledLayerWidth, | 1692 switches::kMaxUntiledLayerWidth, |
| 1694 switches::kMaxUntiledLayerHeight, | 1693 switches::kMaxUntiledLayerHeight, |
| 1695 switches::kMemoryMetrics, | 1694 switches::kMemoryMetrics, |
| 1696 switches::kMojoLocalStorage, | 1695 switches::kMojoLocalStorage, |
| (...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2994 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2993 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2995 | 2994 |
| 2996 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2995 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2997 // enough information here so that we can determine what the bad message was. | 2996 // enough information here so that we can determine what the bad message was. |
| 2998 base::debug::Alias(&error); | 2997 base::debug::Alias(&error); |
| 2999 bad_message::ReceivedBadMessage(process.get(), | 2998 bad_message::ReceivedBadMessage(process.get(), |
| 3000 bad_message::RPH_MOJO_PROCESS_ERROR); | 2999 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3001 } | 3000 } |
| 3002 | 3001 |
| 3003 } // namespace content | 3002 } // namespace content |
| OLD | NEW |