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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1771 switches::kUseGpuInTests, | 1771 switches::kUseGpuInTests, |
1772 switches::kUseMobileUserAgent, | 1772 switches::kUseMobileUserAgent, |
1773 switches::kUseRemoteCompositing, | 1773 switches::kUseRemoteCompositing, |
1774 switches::kV, | 1774 switches::kV, |
1775 switches::kV8CacheStrategiesForCacheStorage, | 1775 switches::kV8CacheStrategiesForCacheStorage, |
1776 switches::kVideoThreads, | 1776 switches::kVideoThreads, |
1777 switches::kVideoUnderflowThresholdMs, | 1777 switches::kVideoUnderflowThresholdMs, |
1778 switches::kVModule, | 1778 switches::kVModule, |
1779 // Please keep these in alphabetical order. Compositor switches here should | 1779 // Please keep these in alphabetical order. Compositor switches here should |
1780 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1780 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1781 cc::switches::kCheckTilePriorityInversion, |
1781 cc::switches::kDisableCachedPictureRaster, | 1782 cc::switches::kDisableCachedPictureRaster, |
1782 cc::switches::kDisableCompositedAntialiasing, | 1783 cc::switches::kDisableCompositedAntialiasing, |
1783 cc::switches::kDisableThreadedAnimation, | 1784 cc::switches::kDisableThreadedAnimation, |
1784 cc::switches::kEnableColorCorrectRendering, | 1785 cc::switches::kEnableColorCorrectRendering, |
1785 cc::switches::kEnableGpuBenchmarking, | 1786 cc::switches::kEnableGpuBenchmarking, |
1786 cc::switches::kEnableLayerLists, | 1787 cc::switches::kEnableLayerLists, |
1787 cc::switches::kEnableTileCompression, | 1788 cc::switches::kEnableTileCompression, |
1788 cc::switches::kEnableTrueColorRendering, | 1789 cc::switches::kEnableTrueColorRendering, |
1789 cc::switches::kShowCompositedLayerBorders, | 1790 cc::switches::kShowCompositedLayerBorders, |
1790 cc::switches::kShowFPSCounter, | 1791 cc::switches::kShowFPSCounter, |
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3002 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3003 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3003 | 3004 |
3004 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3005 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3005 // Capture the error message in a crash key value. | 3006 // Capture the error message in a crash key value. |
3006 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3007 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3007 bad_message::ReceivedBadMessage(render_process_id, | 3008 bad_message::ReceivedBadMessage(render_process_id, |
3008 bad_message::RPH_MOJO_PROCESS_ERROR); | 3009 bad_message::RPH_MOJO_PROCESS_ERROR); |
3009 } | 3010 } |
3010 | 3011 |
3011 } // namespace content | 3012 } // namespace content |
OLD | NEW |