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 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 switches::kDisableSpeechAPI, | 1704 switches::kDisableSpeechAPI, |
1705 switches::kDisableThreadedCompositing, | 1705 switches::kDisableThreadedCompositing, |
1706 switches::kDisableThreadedScrolling, | 1706 switches::kDisableThreadedScrolling, |
1707 switches::kDisableTouchAdjustment, | 1707 switches::kDisableTouchAdjustment, |
1708 switches::kDisableTouchDragDrop, | 1708 switches::kDisableTouchDragDrop, |
1709 switches::kDisableV8IdleTasks, | 1709 switches::kDisableV8IdleTasks, |
1710 switches::kDisableWebGLImageChromium, | 1710 switches::kDisableWebGLImageChromium, |
1711 switches::kDomAutomationController, | 1711 switches::kDomAutomationController, |
1712 switches::kEnableBlinkFeatures, | 1712 switches::kEnableBlinkFeatures, |
1713 switches::kEnableBrowserSideNavigation, | 1713 switches::kEnableBrowserSideNavigation, |
| 1714 switches::kEnableChromeDriver, |
1714 switches::kEnableColorCorrectRenderingDefaultMode, | 1715 switches::kEnableColorCorrectRenderingDefaultMode, |
1715 switches::kEnableDisplayList2dCanvas, | 1716 switches::kEnableDisplayList2dCanvas, |
1716 switches::kEnableDistanceFieldText, | 1717 switches::kEnableDistanceFieldText, |
1717 switches::kEnableExperimentalCanvasFeatures, | 1718 switches::kEnableExperimentalCanvasFeatures, |
1718 switches::kEnableExperimentalWebPlatformFeatures, | 1719 switches::kEnableExperimentalWebPlatformFeatures, |
1719 switches::kEnableHeapProfiling, | 1720 switches::kEnableHeapProfiling, |
1720 switches::kEnableGPUClientLogging, | 1721 switches::kEnableGPUClientLogging, |
1721 switches::kEnableGpuClientTracing, | 1722 switches::kEnableGpuClientTracing, |
1722 switches::kEnableGpuMemoryBufferVideoFrames, | 1723 switches::kEnableGpuMemoryBufferVideoFrames, |
1723 switches::kEnableGPUServiceLogging, | 1724 switches::kEnableGPUServiceLogging, |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3032 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3033 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3033 | 3034 |
3034 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3035 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3035 // Capture the error message in a crash key value. | 3036 // Capture the error message in a crash key value. |
3036 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3037 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3037 bad_message::ReceivedBadMessage(render_process_id, | 3038 bad_message::ReceivedBadMessage(render_process_id, |
3038 bad_message::RPH_MOJO_PROCESS_ERROR); | 3039 bad_message::RPH_MOJO_PROCESS_ERROR); |
3039 } | 3040 } |
3040 | 3041 |
3041 } // namespace content | 3042 } // namespace content |
OLD | NEW |