| 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 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1663 switches::kUseGpuInTests, | 1663 switches::kUseGpuInTests, |
| 1664 switches::kUseMobileUserAgent, | 1664 switches::kUseMobileUserAgent, |
| 1665 switches::kUseRemoteCompositing, | 1665 switches::kUseRemoteCompositing, |
| 1666 switches::kV, | 1666 switches::kV, |
| 1667 switches::kV8CacheStrategiesForCacheStorage, | 1667 switches::kV8CacheStrategiesForCacheStorage, |
| 1668 switches::kVideoThreads, | 1668 switches::kVideoThreads, |
| 1669 switches::kVideoUnderflowThresholdMs, | 1669 switches::kVideoUnderflowThresholdMs, |
| 1670 switches::kVModule, | 1670 switches::kVModule, |
| 1671 // Please keep these in alphabetical order. Compositor switches here should | 1671 // Please keep these in alphabetical order. Compositor switches here should |
| 1672 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1672 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1673 cc::switches::kDisableBeginFrameScheduling, | |
| 1674 cc::switches::kDisableCachedPictureRaster, | 1673 cc::switches::kDisableCachedPictureRaster, |
| 1675 cc::switches::kDisableCompositedAntialiasing, | 1674 cc::switches::kDisableCompositedAntialiasing, |
| 1676 cc::switches::kDisableThreadedAnimation, | 1675 cc::switches::kDisableThreadedAnimation, |
| 1677 cc::switches::kEnableGpuBenchmarking, | 1676 cc::switches::kEnableGpuBenchmarking, |
| 1678 cc::switches::kEnableLayerLists, | 1677 cc::switches::kEnableLayerLists, |
| 1679 cc::switches::kEnableTileCompression, | 1678 cc::switches::kEnableTileCompression, |
| 1680 cc::switches::kShowCompositedLayerBorders, | 1679 cc::switches::kShowCompositedLayerBorders, |
| 1681 cc::switches::kShowFPSCounter, | 1680 cc::switches::kShowFPSCounter, |
| 1682 cc::switches::kShowLayerAnimationBounds, | 1681 cc::switches::kShowLayerAnimationBounds, |
| 1683 cc::switches::kShowPropertyChangedRects, | 1682 cc::switches::kShowPropertyChangedRects, |
| (...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2929 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2928 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2930 | 2929 |
| 2931 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2930 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2932 // enough information here so that we can determine what the bad message was. | 2931 // enough information here so that we can determine what the bad message was. |
| 2933 base::debug::Alias(&error); | 2932 base::debug::Alias(&error); |
| 2934 bad_message::ReceivedBadMessage(process.get(), | 2933 bad_message::ReceivedBadMessage(process.get(), |
| 2935 bad_message::RPH_MOJO_PROCESS_ERROR); | 2934 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2936 } | 2935 } |
| 2937 | 2936 |
| 2938 } // namespace content | 2937 } // namespace content |
| OLD | NEW |