| 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 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1761 switches::kEnableLowResTiling, | 1761 switches::kEnableLowResTiling, |
| 1762 switches::kEnableMediaSuspend, | 1762 switches::kEnableMediaSuspend, |
| 1763 switches::kEnableInbandTextTracks, | 1763 switches::kEnableInbandTextTracks, |
| 1764 switches::kEnableLCDText, | 1764 switches::kEnableLCDText, |
| 1765 switches::kEnableLogging, | 1765 switches::kEnableLogging, |
| 1766 switches::kEnableNetworkInformation, | 1766 switches::kEnableNetworkInformation, |
| 1767 switches::kEnableOverlayScrollbar, | 1767 switches::kEnableOverlayScrollbar, |
| 1768 switches::kEnablePinch, | 1768 switches::kEnablePinch, |
| 1769 switches::kEnablePluginPlaceholderTesting, | 1769 switches::kEnablePluginPlaceholderTesting, |
| 1770 switches::kEnablePreciseMemoryInfo, | 1770 switches::kEnablePreciseMemoryInfo, |
| 1771 switches::kEnablePrintBrowser, |
| 1771 switches::kEnablePreferCompositingToLCDText, | 1772 switches::kEnablePreferCompositingToLCDText, |
| 1772 switches::kEnableRGBA4444Textures, | 1773 switches::kEnableRGBA4444Textures, |
| 1773 switches::kEnableSkiaBenchmarking, | 1774 switches::kEnableSkiaBenchmarking, |
| 1774 switches::kEnableSlimmingPaintV2, | 1775 switches::kEnableSlimmingPaintV2, |
| 1775 switches::kEnableSlimmingPaintInvalidation, | 1776 switches::kEnableSlimmingPaintInvalidation, |
| 1776 switches::kEnableSmoothScrolling, | 1777 switches::kEnableSmoothScrolling, |
| 1777 switches::kEnableStatsTable, | 1778 switches::kEnableStatsTable, |
| 1778 switches::kEnableThreadedCompositing, | 1779 switches::kEnableThreadedCompositing, |
| 1779 switches::kEnableTouchDragDrop, | 1780 switches::kEnableTouchDragDrop, |
| 1780 switches::kEnableUseZoomForDSF, | 1781 switches::kEnableUseZoomForDSF, |
| (...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3075 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3076 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3076 | 3077 |
| 3077 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3078 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3078 // Capture the error message in a crash key value. | 3079 // Capture the error message in a crash key value. |
| 3079 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3080 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3080 bad_message::ReceivedBadMessage(render_process_id, | 3081 bad_message::ReceivedBadMessage(render_process_id, |
| 3081 bad_message::RPH_MOJO_PROCESS_ERROR); | 3082 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3082 } | 3083 } |
| 3083 | 3084 |
| 3084 } // namespace content | 3085 } // namespace content |
| OLD | NEW |