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 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 switches::kDisableSharedWorkers, | 1665 switches::kDisableSharedWorkers, |
1666 switches::kDisableSmoothScrolling, | 1666 switches::kDisableSmoothScrolling, |
1667 switches::kDisableSpeechAPI, | 1667 switches::kDisableSpeechAPI, |
1668 switches::kDisableThreadedCompositing, | 1668 switches::kDisableThreadedCompositing, |
1669 switches::kDisableThreadedScrolling, | 1669 switches::kDisableThreadedScrolling, |
1670 switches::kDisableTouchAdjustment, | 1670 switches::kDisableTouchAdjustment, |
1671 switches::kDisableTouchDragDrop, | 1671 switches::kDisableTouchDragDrop, |
1672 switches::kDisableV8IdleTasks, | 1672 switches::kDisableV8IdleTasks, |
1673 switches::kDisableWebGLImageChromium, | 1673 switches::kDisableWebGLImageChromium, |
1674 switches::kDomAutomationController, | 1674 switches::kDomAutomationController, |
1675 switches::kEnableAsmWasm, | |
1676 switches::kEnableBlinkFeatures, | 1675 switches::kEnableBlinkFeatures, |
1677 switches::kEnableBrowserSideNavigation, | 1676 switches::kEnableBrowserSideNavigation, |
1678 switches::kEnableDisplayList2dCanvas, | 1677 switches::kEnableDisplayList2dCanvas, |
1679 switches::kEnableDistanceFieldText, | 1678 switches::kEnableDistanceFieldText, |
1680 switches::kEnableExperimentalCanvasFeatures, | 1679 switches::kEnableExperimentalCanvasFeatures, |
1681 switches::kEnableExperimentalWebPlatformFeatures, | 1680 switches::kEnableExperimentalWebPlatformFeatures, |
1682 switches::kEnableHeapProfiling, | 1681 switches::kEnableHeapProfiling, |
1683 switches::kEnableGPUClientLogging, | 1682 switches::kEnableGPUClientLogging, |
1684 switches::kEnableGpuClientTracing, | 1683 switches::kEnableGpuClientTracing, |
1685 switches::kEnableGpuMemoryBufferVideoFrames, | 1684 switches::kEnableGpuMemoryBufferVideoFrames, |
(...skipping 16 matching lines...) Expand all Loading... |
1702 switches::kEnableSlimmingPaintV2, | 1701 switches::kEnableSlimmingPaintV2, |
1703 switches::kEnableSmoothScrolling, | 1702 switches::kEnableSmoothScrolling, |
1704 switches::kEnableStatsTable, | 1703 switches::kEnableStatsTable, |
1705 switches::kEnableThreadedCompositing, | 1704 switches::kEnableThreadedCompositing, |
1706 switches::kEnableTouchDragDrop, | 1705 switches::kEnableTouchDragDrop, |
1707 switches::kEnableUnsafeES3APIs, | 1706 switches::kEnableUnsafeES3APIs, |
1708 switches::kEnableUseZoomForDSF, | 1707 switches::kEnableUseZoomForDSF, |
1709 switches::kEnableViewport, | 1708 switches::kEnableViewport, |
1710 switches::kEnableVp9InMp4, | 1709 switches::kEnableVp9InMp4, |
1711 switches::kEnableVtune, | 1710 switches::kEnableVtune, |
1712 switches::kEnableWasm, | |
1713 switches::kEnableWebBluetooth, | 1711 switches::kEnableWebBluetooth, |
1714 switches::kEnableWebFontsInterventionTrigger, | 1712 switches::kEnableWebFontsInterventionTrigger, |
1715 switches::kEnableWebFontsInterventionV2, | 1713 switches::kEnableWebFontsInterventionV2, |
1716 switches::kEnableWebGLDraftExtensions, | 1714 switches::kEnableWebGLDraftExtensions, |
1717 switches::kEnableWebGLImageChromium, | 1715 switches::kEnableWebGLImageChromium, |
1718 switches::kEnableWebVR, | 1716 switches::kEnableWebVR, |
1719 switches::kExplicitlyAllowedPorts, | 1717 switches::kExplicitlyAllowedPorts, |
1720 switches::kForceDeviceScaleFactor, | 1718 switches::kForceDeviceScaleFactor, |
1721 switches::kForceDisplayList2dCanvas, | 1719 switches::kForceDisplayList2dCanvas, |
1722 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1720 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3030 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3028 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3031 | 3029 |
3032 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 3030 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
3033 // enough information here so that we can determine what the bad message was. | 3031 // enough information here so that we can determine what the bad message was. |
3034 base::debug::Alias(&error); | 3032 base::debug::Alias(&error); |
3035 bad_message::ReceivedBadMessage(render_process_id, | 3033 bad_message::ReceivedBadMessage(render_process_id, |
3036 bad_message::RPH_MOJO_PROCESS_ERROR); | 3034 bad_message::RPH_MOJO_PROCESS_ERROR); |
3037 } | 3035 } |
3038 | 3036 |
3039 } // namespace content | 3037 } // namespace content |
OLD | NEW |