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 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1842 // Please keep these in alphabetical order. Compositor switches here should | 1842 // Please keep these in alphabetical order. Compositor switches here should |
1843 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1843 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1844 cc::switches::kDisableCompositedAntialiasing, | 1844 cc::switches::kDisableCompositedAntialiasing, |
1845 cc::switches::kDisableThreadedAnimation, | 1845 cc::switches::kDisableThreadedAnimation, |
1846 cc::switches::kEnableCheckerImaging, | 1846 cc::switches::kEnableCheckerImaging, |
1847 cc::switches::kEnableColorCorrectRendering, | 1847 cc::switches::kEnableColorCorrectRendering, |
1848 cc::switches::kEnableGpuBenchmarking, | 1848 cc::switches::kEnableGpuBenchmarking, |
1849 cc::switches::kEnableLayerLists, | 1849 cc::switches::kEnableLayerLists, |
1850 cc::switches::kEnableSurfaceSynchronization, | 1850 cc::switches::kEnableSurfaceSynchronization, |
1851 cc::switches::kEnableTileCompression, | 1851 cc::switches::kEnableTileCompression, |
1852 cc::switches::kEnableTrueColorRendering, | |
1853 cc::switches::kShowCompositedLayerBorders, | 1852 cc::switches::kShowCompositedLayerBorders, |
1854 cc::switches::kShowFPSCounter, | 1853 cc::switches::kShowFPSCounter, |
1855 cc::switches::kShowLayerAnimationBounds, | 1854 cc::switches::kShowLayerAnimationBounds, |
1856 cc::switches::kShowPropertyChangedRects, | 1855 cc::switches::kShowPropertyChangedRects, |
1857 cc::switches::kShowScreenSpaceRects, | 1856 cc::switches::kShowScreenSpaceRects, |
1858 cc::switches::kShowSurfaceDamageRects, | 1857 cc::switches::kShowSurfaceDamageRects, |
1859 cc::switches::kSlowDownRasterScaleFactor, | 1858 cc::switches::kSlowDownRasterScaleFactor, |
1860 cc::switches::kBrowserControlsHideThreshold, | 1859 cc::switches::kBrowserControlsHideThreshold, |
1861 cc::switches::kBrowserControlsShowThreshold, | 1860 cc::switches::kBrowserControlsShowThreshold, |
1862 | 1861 |
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3072 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3073 | 3072 |
3074 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3075 // Capture the error message in a crash key value. | 3074 // Capture the error message in a crash key value. |
3076 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3077 bad_message::ReceivedBadMessage(render_process_id, | 3076 bad_message::ReceivedBadMessage(render_process_id, |
3078 bad_message::RPH_MOJO_PROCESS_ERROR); | 3077 bad_message::RPH_MOJO_PROCESS_ERROR); |
3079 } | 3078 } |
3080 | 3079 |
3081 } // namespace content | 3080 } // namespace content |
OLD | NEW |