| 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 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 switches::kDisableSpeechAPI, | 1673 switches::kDisableSpeechAPI, |
| 1674 switches::kDisableThreadedCompositing, | 1674 switches::kDisableThreadedCompositing, |
| 1675 switches::kDisableThreadedScrolling, | 1675 switches::kDisableThreadedScrolling, |
| 1676 switches::kDisableTouchAdjustment, | 1676 switches::kDisableTouchAdjustment, |
| 1677 switches::kDisableTouchDragDrop, | 1677 switches::kDisableTouchDragDrop, |
| 1678 switches::kDisableV8IdleTasks, | 1678 switches::kDisableV8IdleTasks, |
| 1679 switches::kDisableWebGLImageChromium, | 1679 switches::kDisableWebGLImageChromium, |
| 1680 switches::kDomAutomationController, | 1680 switches::kDomAutomationController, |
| 1681 switches::kEnableBlinkFeatures, | 1681 switches::kEnableBlinkFeatures, |
| 1682 switches::kEnableBrowserSideNavigation, | 1682 switches::kEnableBrowserSideNavigation, |
| 1683 switches::kEnableColorCorrectRenderingDefaultMode, |
| 1683 switches::kEnableDisplayList2dCanvas, | 1684 switches::kEnableDisplayList2dCanvas, |
| 1684 switches::kEnableDistanceFieldText, | 1685 switches::kEnableDistanceFieldText, |
| 1685 switches::kEnableExperimentalCanvasFeatures, | 1686 switches::kEnableExperimentalCanvasFeatures, |
| 1686 switches::kEnableExperimentalWebPlatformFeatures, | 1687 switches::kEnableExperimentalWebPlatformFeatures, |
| 1687 switches::kEnableHeapProfiling, | 1688 switches::kEnableHeapProfiling, |
| 1688 switches::kEnableGPUClientLogging, | 1689 switches::kEnableGPUClientLogging, |
| 1689 switches::kEnableGpuClientTracing, | 1690 switches::kEnableGpuClientTracing, |
| 1690 switches::kEnableGpuMemoryBufferVideoFrames, | 1691 switches::kEnableGpuMemoryBufferVideoFrames, |
| 1691 switches::kEnableGPUServiceLogging, | 1692 switches::kEnableGPUServiceLogging, |
| 1692 switches::kEnableIconNtp, | 1693 switches::kEnableIconNtp, |
| (...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3002 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3003 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3003 | 3004 |
| 3004 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3005 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3005 // Capture the error message in a crash key value. | 3006 // Capture the error message in a crash key value. |
| 3006 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3007 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3007 bad_message::ReceivedBadMessage(render_process_id, | 3008 bad_message::ReceivedBadMessage(render_process_id, |
| 3008 bad_message::RPH_MOJO_PROCESS_ERROR); | 3009 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3009 } | 3010 } |
| 3010 | 3011 |
| 3011 } // namespace content | 3012 } // namespace content |
| OLD | NEW |