| 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 2123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2134 switches::kEnableGpuClientTracing, | 2134 switches::kEnableGpuClientTracing, |
| 2135 switches::kEnableGpuMemoryBufferVideoFrames, | 2135 switches::kEnableGpuMemoryBufferVideoFrames, |
| 2136 switches::kEnableGPUServiceLogging, | 2136 switches::kEnableGPUServiceLogging, |
| 2137 switches::kEnableLowResTiling, | 2137 switches::kEnableLowResTiling, |
| 2138 switches::kEnableMediaSuspend, | 2138 switches::kEnableMediaSuspend, |
| 2139 switches::kEnableInbandTextTracks, | 2139 switches::kEnableInbandTextTracks, |
| 2140 switches::kEnableLCDText, | 2140 switches::kEnableLCDText, |
| 2141 switches::kEnableLogging, | 2141 switches::kEnableLogging, |
| 2142 switches::kEnableNetworkInformation, | 2142 switches::kEnableNetworkInformation, |
| 2143 switches::kEnableNetworkService, | 2143 switches::kEnableNetworkService, |
| 2144 switches::kEnableNewVp9CodecString, | |
| 2145 switches::kEnablePinch, | 2144 switches::kEnablePinch, |
| 2146 switches::kEnablePluginPlaceholderTesting, | 2145 switches::kEnablePluginPlaceholderTesting, |
| 2147 switches::kEnablePreciseMemoryInfo, | 2146 switches::kEnablePreciseMemoryInfo, |
| 2148 switches::kEnablePrintBrowser, | 2147 switches::kEnablePrintBrowser, |
| 2149 switches::kEnablePreferCompositingToLCDText, | 2148 switches::kEnablePreferCompositingToLCDText, |
| 2150 switches::kEnableRGBA4444Textures, | 2149 switches::kEnableRGBA4444Textures, |
| 2151 switches::kEnableSkiaBenchmarking, | 2150 switches::kEnableSkiaBenchmarking, |
| 2152 switches::kEnableSlimmingPaintV2, | 2151 switches::kEnableSlimmingPaintV2, |
| 2153 switches::kEnableSlimmingPaintInvalidation, | 2152 switches::kEnableSlimmingPaintInvalidation, |
| 2154 switches::kEnableSmoothScrolling, | 2153 switches::kEnableSmoothScrolling, |
| (...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3600 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3599 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3601 | 3600 |
| 3602 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3601 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3603 // Capture the error message in a crash key value. | 3602 // Capture the error message in a crash key value. |
| 3604 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3603 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3605 bad_message::ReceivedBadMessage(render_process_id, | 3604 bad_message::ReceivedBadMessage(render_process_id, |
| 3606 bad_message::RPH_MOJO_PROCESS_ERROR); | 3605 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3607 } | 3606 } |
| 3608 | 3607 |
| 3609 } // namespace content | 3608 } // namespace content |
| OLD | NEW |