| 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 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1744 switches::kDisableV8IdleTasks, | 1744 switches::kDisableV8IdleTasks, |
| 1745 switches::kDisableWebGLImageChromium, | 1745 switches::kDisableWebGLImageChromium, |
| 1746 switches::kDomAutomationController, | 1746 switches::kDomAutomationController, |
| 1747 switches::kEnableBlinkFeatures, | 1747 switches::kEnableBlinkFeatures, |
| 1748 switches::kEnableBrowserSideNavigation, | 1748 switches::kEnableBrowserSideNavigation, |
| 1749 switches::kEnableColorCorrectRenderingDefaultMode, | 1749 switches::kEnableColorCorrectRenderingDefaultMode, |
| 1750 switches::kEnableDisplayList2dCanvas, | 1750 switches::kEnableDisplayList2dCanvas, |
| 1751 switches::kEnableDistanceFieldText, | 1751 switches::kEnableDistanceFieldText, |
| 1752 switches::kEnableExperimentalCanvasFeatures, | 1752 switches::kEnableExperimentalCanvasFeatures, |
| 1753 switches::kEnableExperimentalWebPlatformFeatures, | 1753 switches::kEnableExperimentalWebPlatformFeatures, |
| 1754 switches::kEnableHDROutput, |
| 1754 switches::kEnableHeapProfiling, | 1755 switches::kEnableHeapProfiling, |
| 1755 switches::kEnableGPUClientLogging, | 1756 switches::kEnableGPUClientLogging, |
| 1756 switches::kEnableGpuClientTracing, | 1757 switches::kEnableGpuClientTracing, |
| 1757 switches::kEnableGpuMemoryBufferVideoFrames, | 1758 switches::kEnableGpuMemoryBufferVideoFrames, |
| 1758 switches::kEnableGPUServiceLogging, | 1759 switches::kEnableGPUServiceLogging, |
| 1759 switches::kEnableLowResTiling, | 1760 switches::kEnableLowResTiling, |
| 1760 switches::kEnableMediaSuspend, | 1761 switches::kEnableMediaSuspend, |
| 1761 switches::kEnableInbandTextTracks, | 1762 switches::kEnableInbandTextTracks, |
| 1762 switches::kEnableLCDText, | 1763 switches::kEnableLCDText, |
| 1763 switches::kEnableLogging, | 1764 switches::kEnableLogging, |
| 1764 switches::kEnableNetworkInformation, | 1765 switches::kEnableNetworkInformation, |
| 1765 switches::kEnableOverlayScrollbar, | 1766 switches::kEnableOverlayScrollbar, |
| 1767 switches::kEnableNewVp9CodecString, |
| 1766 switches::kEnablePinch, | 1768 switches::kEnablePinch, |
| 1767 switches::kEnablePluginPlaceholderTesting, | 1769 switches::kEnablePluginPlaceholderTesting, |
| 1768 switches::kEnablePreciseMemoryInfo, | 1770 switches::kEnablePreciseMemoryInfo, |
| 1769 switches::kEnablePrintBrowser, | 1771 switches::kEnablePrintBrowser, |
| 1770 switches::kEnablePreferCompositingToLCDText, | 1772 switches::kEnablePreferCompositingToLCDText, |
| 1771 switches::kEnableRGBA4444Textures, | 1773 switches::kEnableRGBA4444Textures, |
| 1772 switches::kEnableSkiaBenchmarking, | 1774 switches::kEnableSkiaBenchmarking, |
| 1773 switches::kEnableSlimmingPaintV2, | 1775 switches::kEnableSlimmingPaintV2, |
| 1774 switches::kEnableSlimmingPaintInvalidation, | 1776 switches::kEnableSlimmingPaintInvalidation, |
| 1775 switches::kEnableSmoothScrolling, | 1777 switches::kEnableSmoothScrolling, |
| (...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3069 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3070 | 3072 |
| 3071 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3072 // Capture the error message in a crash key value. | 3074 // Capture the error message in a crash key value. |
| 3073 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3074 bad_message::ReceivedBadMessage(render_process_id, | 3076 bad_message::ReceivedBadMessage(render_process_id, |
| 3075 bad_message::RPH_MOJO_PROCESS_ERROR); | 3077 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3076 } | 3078 } |
| 3077 | 3079 |
| 3078 } // namespace content | 3080 } // namespace content |
| OLD | NEW |