| 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 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1831 switches::kV, | 1831 switches::kV, |
| 1832 switches::kV8CacheStrategiesForCacheStorage, | 1832 switches::kV8CacheStrategiesForCacheStorage, |
| 1833 switches::kVideoThreads, | 1833 switches::kVideoThreads, |
| 1834 switches::kVideoUnderflowThresholdMs, | 1834 switches::kVideoUnderflowThresholdMs, |
| 1835 switches::kVModule, | 1835 switches::kVModule, |
| 1836 // Please keep these in alphabetical order. Compositor switches here should | 1836 // Please keep these in alphabetical order. Compositor switches here should |
| 1837 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1837 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1838 cc::switches::kCheckTilePriorityInversion, | 1838 cc::switches::kCheckTilePriorityInversion, |
| 1839 cc::switches::kDisableCompositedAntialiasing, | 1839 cc::switches::kDisableCompositedAntialiasing, |
| 1840 cc::switches::kDisableThreadedAnimation, | 1840 cc::switches::kDisableThreadedAnimation, |
| 1841 cc::switches::kEnableCheckerImaging, |
| 1841 cc::switches::kEnableColorCorrectRendering, | 1842 cc::switches::kEnableColorCorrectRendering, |
| 1842 cc::switches::kEnableGpuBenchmarking, | 1843 cc::switches::kEnableGpuBenchmarking, |
| 1843 cc::switches::kEnableLayerLists, | 1844 cc::switches::kEnableLayerLists, |
| 1844 cc::switches::kEnableTileCompression, | 1845 cc::switches::kEnableTileCompression, |
| 1845 cc::switches::kEnableTrueColorRendering, | 1846 cc::switches::kEnableTrueColorRendering, |
| 1846 cc::switches::kShowCompositedLayerBorders, | 1847 cc::switches::kShowCompositedLayerBorders, |
| 1847 cc::switches::kShowFPSCounter, | 1848 cc::switches::kShowFPSCounter, |
| 1848 cc::switches::kShowLayerAnimationBounds, | 1849 cc::switches::kShowLayerAnimationBounds, |
| 1849 cc::switches::kShowPropertyChangedRects, | 1850 cc::switches::kShowPropertyChangedRects, |
| 1850 cc::switches::kShowScreenSpaceRects, | 1851 cc::switches::kShowScreenSpaceRects, |
| (...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3065 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3066 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3066 | 3067 |
| 3067 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3068 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3068 // Capture the error message in a crash key value. | 3069 // Capture the error message in a crash key value. |
| 3069 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3070 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3070 bad_message::ReceivedBadMessage(render_process_id, | 3071 bad_message::ReceivedBadMessage(render_process_id, |
| 3071 bad_message::RPH_MOJO_PROCESS_ERROR); | 3072 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3072 } | 3073 } |
| 3073 | 3074 |
| 3074 } // namespace content | 3075 } // namespace content |
| OLD | NEW |