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