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 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1838 cc::switches::kEnableLayerLists, | 1838 cc::switches::kEnableLayerLists, |
1839 cc::switches::kEnableTileCompression, | 1839 cc::switches::kEnableTileCompression, |
1840 cc::switches::kEnableTrueColorRendering, | 1840 cc::switches::kEnableTrueColorRendering, |
1841 cc::switches::kShowCompositedLayerBorders, | 1841 cc::switches::kShowCompositedLayerBorders, |
1842 cc::switches::kShowFPSCounter, | 1842 cc::switches::kShowFPSCounter, |
1843 cc::switches::kShowLayerAnimationBounds, | 1843 cc::switches::kShowLayerAnimationBounds, |
1844 cc::switches::kShowPropertyChangedRects, | 1844 cc::switches::kShowPropertyChangedRects, |
1845 cc::switches::kShowScreenSpaceRects, | 1845 cc::switches::kShowScreenSpaceRects, |
1846 cc::switches::kShowSurfaceDamageRects, | 1846 cc::switches::kShowSurfaceDamageRects, |
1847 cc::switches::kSlowDownRasterScaleFactor, | 1847 cc::switches::kSlowDownRasterScaleFactor, |
| 1848 cc::switches::kTilingIterator, |
1848 cc::switches::kBrowserControlsHideThreshold, | 1849 cc::switches::kBrowserControlsHideThreshold, |
1849 cc::switches::kBrowserControlsShowThreshold, | 1850 cc::switches::kBrowserControlsShowThreshold, |
1850 | 1851 |
1851 #if BUILDFLAG(ENABLE_PLUGINS) | 1852 #if BUILDFLAG(ENABLE_PLUGINS) |
1852 switches::kEnablePepperTesting, | 1853 switches::kEnablePepperTesting, |
1853 #endif | 1854 #endif |
1854 #if BUILDFLAG(ENABLE_WEBRTC) | 1855 #if BUILDFLAG(ENABLE_WEBRTC) |
1855 switches::kDisableWebRtcHWDecoding, | 1856 switches::kDisableWebRtcHWDecoding, |
1856 switches::kDisableWebRtcHWEncoding, | 1857 switches::kDisableWebRtcHWEncoding, |
1857 switches::kEnableWebRtcStunOrigin, | 1858 switches::kEnableWebRtcStunOrigin, |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3060 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3061 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3061 | 3062 |
3062 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3063 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3063 // Capture the error message in a crash key value. | 3064 // Capture the error message in a crash key value. |
3064 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3065 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3065 bad_message::ReceivedBadMessage(render_process_id, | 3066 bad_message::ReceivedBadMessage(render_process_id, |
3066 bad_message::RPH_MOJO_PROCESS_ERROR); | 3067 bad_message::RPH_MOJO_PROCESS_ERROR); |
3067 } | 3068 } |
3068 | 3069 |
3069 } // namespace content | 3070 } // namespace content |
OLD | NEW |