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 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2081 switches::kDisableThreadedCompositing, | 2081 switches::kDisableThreadedCompositing, |
2082 switches::kDisableThreadedScrolling, | 2082 switches::kDisableThreadedScrolling, |
2083 switches::kDisableTouchAdjustment, | 2083 switches::kDisableTouchAdjustment, |
2084 switches::kDisableTouchDragDrop, | 2084 switches::kDisableTouchDragDrop, |
2085 switches::kDisableV8IdleTasks, | 2085 switches::kDisableV8IdleTasks, |
2086 switches::kDisableWebGLImageChromium, | 2086 switches::kDisableWebGLImageChromium, |
2087 switches::kDomAutomationController, | 2087 switches::kDomAutomationController, |
2088 switches::kEnableBlinkFeatures, | 2088 switches::kEnableBlinkFeatures, |
2089 switches::kEnableBrowserSideNavigation, | 2089 switches::kEnableBrowserSideNavigation, |
2090 switches::kEnableColorCorrectRendering, | 2090 switches::kEnableColorCorrectRendering, |
2091 switches::kEnableColorCorrectRenderingDefaultMode, | |
2092 switches::kEnableDisplayList2dCanvas, | 2091 switches::kEnableDisplayList2dCanvas, |
2093 switches::kEnableDistanceFieldText, | 2092 switches::kEnableDistanceFieldText, |
2094 switches::kEnableExperimentalCanvasFeatures, | 2093 switches::kEnableExperimentalCanvasFeatures, |
2095 switches::kEnableExperimentalWebPlatformFeatures, | 2094 switches::kEnableExperimentalWebPlatformFeatures, |
2096 switches::kEnableHDR, | 2095 switches::kEnableHDR, |
2097 switches::kEnableHeapProfiling, | 2096 switches::kEnableHeapProfiling, |
2098 switches::kEnableGPUClientLogging, | 2097 switches::kEnableGPUClientLogging, |
2099 switches::kEnableGpuClientTracing, | 2098 switches::kEnableGpuClientTracing, |
2100 switches::kEnableGpuMemoryBufferVideoFrames, | 2099 switches::kEnableGpuMemoryBufferVideoFrames, |
2101 switches::kEnableGPUServiceLogging, | 2100 switches::kEnableGPUServiceLogging, |
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3572 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3571 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3573 | 3572 |
3574 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3573 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3575 // Capture the error message in a crash key value. | 3574 // Capture the error message in a crash key value. |
3576 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3575 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3577 bad_message::ReceivedBadMessage(render_process_id, | 3576 bad_message::ReceivedBadMessage(render_process_id, |
3578 bad_message::RPH_MOJO_PROCESS_ERROR); | 3577 bad_message::RPH_MOJO_PROCESS_ERROR); |
3579 } | 3578 } |
3580 | 3579 |
3581 } // namespace content | 3580 } // namespace content |
OLD | NEW |