| 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 2131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2142 switches::kDisableSpeechAPI, | 2142 switches::kDisableSpeechAPI, |
| 2143 switches::kDisableThreadedCompositing, | 2143 switches::kDisableThreadedCompositing, |
| 2144 switches::kDisableThreadedScrolling, | 2144 switches::kDisableThreadedScrolling, |
| 2145 switches::kDisableTouchAdjustment, | 2145 switches::kDisableTouchAdjustment, |
| 2146 switches::kDisableTouchDragDrop, | 2146 switches::kDisableTouchDragDrop, |
| 2147 switches::kDisableV8IdleTasks, | 2147 switches::kDisableV8IdleTasks, |
| 2148 switches::kDisableWebGLImageChromium, | 2148 switches::kDisableWebGLImageChromium, |
| 2149 switches::kDomAutomationController, | 2149 switches::kDomAutomationController, |
| 2150 switches::kEnableBlinkFeatures, | 2150 switches::kEnableBlinkFeatures, |
| 2151 switches::kEnableBrowserSideNavigation, | 2151 switches::kEnableBrowserSideNavigation, |
| 2152 switches::kEnableColorCorrectRendering, | |
| 2153 switches::kEnableDisplayList2dCanvas, | 2152 switches::kEnableDisplayList2dCanvas, |
| 2154 switches::kEnableDistanceFieldText, | 2153 switches::kEnableDistanceFieldText, |
| 2155 switches::kEnableExperimentalCanvasFeatures, | 2154 switches::kEnableExperimentalCanvasFeatures, |
| 2156 switches::kEnableExperimentalWebPlatformFeatures, | 2155 switches::kEnableExperimentalWebPlatformFeatures, |
| 2157 switches::kEnableHDR, | 2156 switches::kEnableHDR, |
| 2158 switches::kEnableHeapProfiling, | 2157 switches::kEnableHeapProfiling, |
| 2159 switches::kEnableGPUClientLogging, | 2158 switches::kEnableGPUClientLogging, |
| 2160 switches::kEnableGpuClientTracing, | 2159 switches::kEnableGpuClientTracing, |
| 2161 switches::kEnableGpuMemoryBufferVideoFrames, | 2160 switches::kEnableGpuMemoryBufferVideoFrames, |
| 2162 switches::kEnableGPUServiceLogging, | 2161 switches::kEnableGPUServiceLogging, |
| (...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3629 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3628 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3630 | 3629 |
| 3631 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3630 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3632 // Capture the error message in a crash key value. | 3631 // Capture the error message in a crash key value. |
| 3633 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3632 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3634 bad_message::ReceivedBadMessage(render_process_id, | 3633 bad_message::ReceivedBadMessage(render_process_id, |
| 3635 bad_message::RPH_MOJO_PROCESS_ERROR); | 3634 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3636 } | 3635 } |
| 3637 | 3636 |
| 3638 } // namespace content | 3637 } // namespace content |
| OLD | NEW |