| 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 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2118 switches::kEnableRGBA4444Textures, | 2118 switches::kEnableRGBA4444Textures, |
| 2119 switches::kEnableSkiaBenchmarking, | 2119 switches::kEnableSkiaBenchmarking, |
| 2120 switches::kEnableSlimmingPaintV2, | 2120 switches::kEnableSlimmingPaintV2, |
| 2121 switches::kEnableSlimmingPaintInvalidation, | 2121 switches::kEnableSlimmingPaintInvalidation, |
| 2122 switches::kEnableSmoothScrolling, | 2122 switches::kEnableSmoothScrolling, |
| 2123 switches::kEnableStatsTable, | 2123 switches::kEnableStatsTable, |
| 2124 switches::kEnableThreadedCompositing, | 2124 switches::kEnableThreadedCompositing, |
| 2125 switches::kEnableTouchDragDrop, | 2125 switches::kEnableTouchDragDrop, |
| 2126 switches::kEnableUseZoomForDSF, | 2126 switches::kEnableUseZoomForDSF, |
| 2127 switches::kEnableViewport, | 2127 switches::kEnableViewport, |
| 2128 switches::kEnableVp9InMp4, | |
| 2129 switches::kEnableVtune, | 2128 switches::kEnableVtune, |
| 2130 switches::kEnableWebFontsInterventionTrigger, | 2129 switches::kEnableWebFontsInterventionTrigger, |
| 2131 switches::kEnableWebFontsInterventionV2, | 2130 switches::kEnableWebFontsInterventionV2, |
| 2132 switches::kEnableWebGLDraftExtensions, | 2131 switches::kEnableWebGLDraftExtensions, |
| 2133 switches::kEnableWebGLImageChromium, | 2132 switches::kEnableWebGLImageChromium, |
| 2134 switches::kEnableWebVR, | 2133 switches::kEnableWebVR, |
| 2135 switches::kExplicitlyAllowedPorts, | 2134 switches::kExplicitlyAllowedPorts, |
| 2136 switches::kForceColorProfile, | 2135 switches::kForceColorProfile, |
| 2137 switches::kForceDeviceScaleFactor, | 2136 switches::kForceDeviceScaleFactor, |
| 2138 switches::kForceDisplayList2dCanvas, | 2137 switches::kForceDisplayList2dCanvas, |
| (...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3574 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3573 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3575 | 3574 |
| 3576 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3575 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3577 // Capture the error message in a crash key value. | 3576 // Capture the error message in a crash key value. |
| 3578 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3577 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3579 bad_message::ReceivedBadMessage(render_process_id, | 3578 bad_message::ReceivedBadMessage(render_process_id, |
| 3580 bad_message::RPH_MOJO_PROCESS_ERROR); | 3579 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3581 } | 3580 } |
| 3582 | 3581 |
| 3583 } // namespace content | 3582 } // namespace content |
| OLD | NEW |