| 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 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2102 switches::kEnableGpuClientTracing, | 2102 switches::kEnableGpuClientTracing, |
| 2103 switches::kEnableGpuMemoryBufferVideoFrames, | 2103 switches::kEnableGpuMemoryBufferVideoFrames, |
| 2104 switches::kEnableGPUServiceLogging, | 2104 switches::kEnableGPUServiceLogging, |
| 2105 switches::kEnableLowResTiling, | 2105 switches::kEnableLowResTiling, |
| 2106 switches::kEnableMediaSuspend, | 2106 switches::kEnableMediaSuspend, |
| 2107 switches::kEnableInbandTextTracks, | 2107 switches::kEnableInbandTextTracks, |
| 2108 switches::kEnableLCDText, | 2108 switches::kEnableLCDText, |
| 2109 switches::kEnableLogging, | 2109 switches::kEnableLogging, |
| 2110 switches::kEnableNetworkInformation, | 2110 switches::kEnableNetworkInformation, |
| 2111 switches::kEnableNetworkService, | 2111 switches::kEnableNetworkService, |
| 2112 switches::kEnableNewVp9CodecString, | |
| 2113 switches::kEnablePinch, | 2112 switches::kEnablePinch, |
| 2114 switches::kEnablePluginPlaceholderTesting, | 2113 switches::kEnablePluginPlaceholderTesting, |
| 2115 switches::kEnablePreciseMemoryInfo, | 2114 switches::kEnablePreciseMemoryInfo, |
| 2116 switches::kEnablePrintBrowser, | 2115 switches::kEnablePrintBrowser, |
| 2117 switches::kEnablePreferCompositingToLCDText, | 2116 switches::kEnablePreferCompositingToLCDText, |
| 2118 switches::kEnableRGBA4444Textures, | 2117 switches::kEnableRGBA4444Textures, |
| 2119 switches::kEnableSkiaBenchmarking, | 2118 switches::kEnableSkiaBenchmarking, |
| 2120 switches::kEnableSlimmingPaintV2, | 2119 switches::kEnableSlimmingPaintV2, |
| 2121 switches::kEnableSlimmingPaintInvalidation, | 2120 switches::kEnableSlimmingPaintInvalidation, |
| 2122 switches::kEnableSmoothScrolling, | 2121 switches::kEnableSmoothScrolling, |
| (...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3573 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3572 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3574 | 3573 |
| 3575 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3574 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3576 // Capture the error message in a crash key value. | 3575 // Capture the error message in a crash key value. |
| 3577 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3576 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3578 bad_message::ReceivedBadMessage(render_process_id, | 3577 bad_message::ReceivedBadMessage(render_process_id, |
| 3579 bad_message::RPH_MOJO_PROCESS_ERROR); | 3578 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3580 } | 3579 } |
| 3581 | 3580 |
| 3582 } // namespace content | 3581 } // namespace content |
| OLD | NEW |