| 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 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 switches::kDisableGpuCompositing, | 1628 switches::kDisableGpuCompositing, |
| 1629 switches::kDisableGpuMemoryBufferVideoFrames, | 1629 switches::kDisableGpuMemoryBufferVideoFrames, |
| 1630 switches::kDisableGpuVsync, | 1630 switches::kDisableGpuVsync, |
| 1631 switches::kDisableLowResTiling, | 1631 switches::kDisableLowResTiling, |
| 1632 switches::kDisableHistogramCustomizer, | 1632 switches::kDisableHistogramCustomizer, |
| 1633 switches::kDisableIconNtp, | 1633 switches::kDisableIconNtp, |
| 1634 switches::kDisableLCDText, | 1634 switches::kDisableLCDText, |
| 1635 switches::kDisableLocalStorage, | 1635 switches::kDisableLocalStorage, |
| 1636 switches::kDisableLogging, | 1636 switches::kDisableLogging, |
| 1637 switches::kDisableMediaSuspend, | 1637 switches::kDisableMediaSuspend, |
| 1638 switches::kDisableMojoServiceWorker, |
| 1638 switches::kDisableNotifications, | 1639 switches::kDisableNotifications, |
| 1639 switches::kDisableOverlayScrollbar, | 1640 switches::kDisableOverlayScrollbar, |
| 1640 switches::kDisablePepper3DImageChromium, | 1641 switches::kDisablePepper3DImageChromium, |
| 1641 switches::kDisablePermissionsAPI, | 1642 switches::kDisablePermissionsAPI, |
| 1642 switches::kDisablePresentationAPI, | 1643 switches::kDisablePresentationAPI, |
| 1643 switches::kDisablePinch, | 1644 switches::kDisablePinch, |
| 1644 switches::kDisableRGBA4444Textures, | 1645 switches::kDisableRGBA4444Textures, |
| 1645 switches::kDisableRTCSmoothnessAlgorithm, | 1646 switches::kDisableRTCSmoothnessAlgorithm, |
| 1646 switches::kDisableSeccompFilterSandbox, | 1647 switches::kDisableSeccompFilterSandbox, |
| 1647 switches::kDisableSharedWorkers, | 1648 switches::kDisableSharedWorkers, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1703 switches::kInertVisualViewport, | 1704 switches::kInertVisualViewport, |
| 1704 switches::kIPCConnectionTimeout, | 1705 switches::kIPCConnectionTimeout, |
| 1705 switches::kIsRunningInMash, | 1706 switches::kIsRunningInMash, |
| 1706 switches::kJavaScriptFlags, | 1707 switches::kJavaScriptFlags, |
| 1707 switches::kLoggingLevel, | 1708 switches::kLoggingLevel, |
| 1708 switches::kMainFrameResizesAreOrientationChanges, | 1709 switches::kMainFrameResizesAreOrientationChanges, |
| 1709 switches::kMaxUntiledLayerWidth, | 1710 switches::kMaxUntiledLayerWidth, |
| 1710 switches::kMaxUntiledLayerHeight, | 1711 switches::kMaxUntiledLayerHeight, |
| 1711 switches::kMemoryMetrics, | 1712 switches::kMemoryMetrics, |
| 1712 switches::kMojoLocalStorage, | 1713 switches::kMojoLocalStorage, |
| 1713 switches::kMojoServiceWorker, | |
| 1714 switches::kMSEAudioBufferSizeLimit, | 1714 switches::kMSEAudioBufferSizeLimit, |
| 1715 switches::kMSEVideoBufferSizeLimit, | 1715 switches::kMSEVideoBufferSizeLimit, |
| 1716 switches::kNoReferrers, | 1716 switches::kNoReferrers, |
| 1717 switches::kNoSandbox, | 1717 switches::kNoSandbox, |
| 1718 switches::kOverridePluginPowerSaverForTesting, | 1718 switches::kOverridePluginPowerSaverForTesting, |
| 1719 switches::kPassiveListenersDefault, | 1719 switches::kPassiveListenersDefault, |
| 1720 switches::kPpapiInProcess, | 1720 switches::kPpapiInProcess, |
| 1721 switches::kProfilerTiming, | 1721 switches::kProfilerTiming, |
| 1722 switches::kReducedReferrerGranularity, | 1722 switches::kReducedReferrerGranularity, |
| 1723 switches::kReduceSecurityForTesting, | 1723 switches::kReduceSecurityForTesting, |
| (...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2978 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2978 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2979 | 2979 |
| 2980 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2980 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2981 // enough information here so that we can determine what the bad message was. | 2981 // enough information here so that we can determine what the bad message was. |
| 2982 base::debug::Alias(&error); | 2982 base::debug::Alias(&error); |
| 2983 bad_message::ReceivedBadMessage(render_process_id, | 2983 bad_message::ReceivedBadMessage(render_process_id, |
| 2984 bad_message::RPH_MOJO_PROCESS_ERROR); | 2984 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2985 } | 2985 } |
| 2986 | 2986 |
| 2987 } // namespace content | 2987 } // namespace content |
| OLD | NEW |