| 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 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1750 cc::switches::kEnableGpuBenchmarking, | 1750 cc::switches::kEnableGpuBenchmarking, |
| 1751 cc::switches::kEnableLayerLists, | 1751 cc::switches::kEnableLayerLists, |
| 1752 cc::switches::kEnableTileCompression, | 1752 cc::switches::kEnableTileCompression, |
| 1753 cc::switches::kShowCompositedLayerBorders, | 1753 cc::switches::kShowCompositedLayerBorders, |
| 1754 cc::switches::kShowFPSCounter, | 1754 cc::switches::kShowFPSCounter, |
| 1755 cc::switches::kShowLayerAnimationBounds, | 1755 cc::switches::kShowLayerAnimationBounds, |
| 1756 cc::switches::kShowPropertyChangedRects, | 1756 cc::switches::kShowPropertyChangedRects, |
| 1757 cc::switches::kShowScreenSpaceRects, | 1757 cc::switches::kShowScreenSpaceRects, |
| 1758 cc::switches::kShowSurfaceDamageRects, | 1758 cc::switches::kShowSurfaceDamageRects, |
| 1759 cc::switches::kSlowDownRasterScaleFactor, | 1759 cc::switches::kSlowDownRasterScaleFactor, |
| 1760 cc::switches::kTilingIterator, |
| 1760 cc::switches::kBrowserControlsHideThreshold, | 1761 cc::switches::kBrowserControlsHideThreshold, |
| 1761 cc::switches::kBrowserControlsShowThreshold, | 1762 cc::switches::kBrowserControlsShowThreshold, |
| 1762 | 1763 |
| 1763 #if defined(ENABLE_PLUGINS) | 1764 #if defined(ENABLE_PLUGINS) |
| 1764 switches::kEnablePepperTesting, | 1765 switches::kEnablePepperTesting, |
| 1765 #endif | 1766 #endif |
| 1766 #if defined(ENABLE_WEBRTC) | 1767 #if defined(ENABLE_WEBRTC) |
| 1767 switches::kDisableWebRtcHWDecoding, | 1768 switches::kDisableWebRtcHWDecoding, |
| 1768 switches::kDisableWebRtcHWEncoding, | 1769 switches::kDisableWebRtcHWEncoding, |
| 1769 switches::kEnableWebRtcStunOrigin, | 1770 switches::kEnableWebRtcStunOrigin, |
| (...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2979 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2980 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2980 | 2981 |
| 2981 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2982 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2982 // enough information here so that we can determine what the bad message was. | 2983 // enough information here so that we can determine what the bad message was. |
| 2983 base::debug::Alias(&error); | 2984 base::debug::Alias(&error); |
| 2984 bad_message::ReceivedBadMessage(render_process_id, | 2985 bad_message::ReceivedBadMessage(render_process_id, |
| 2985 bad_message::RPH_MOJO_PROCESS_ERROR); | 2986 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2986 } | 2987 } |
| 2987 | 2988 |
| 2988 } // namespace content | 2989 } // namespace content |
| OLD | NEW |