| 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 2256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2267 switches::kDisablePresentationAPI, | 2267 switches::kDisablePresentationAPI, |
| 2268 switches::kDisablePinch, | 2268 switches::kDisablePinch, |
| 2269 switches::kDisableRGBA4444Textures, | 2269 switches::kDisableRGBA4444Textures, |
| 2270 switches::kDisableRTCSmoothnessAlgorithm, | 2270 switches::kDisableRTCSmoothnessAlgorithm, |
| 2271 switches::kDisableSeccompFilterSandbox, | 2271 switches::kDisableSeccompFilterSandbox, |
| 2272 switches::kDisableSharedWorkers, | 2272 switches::kDisableSharedWorkers, |
| 2273 switches::kDisableSkiaRuntimeOpts, | 2273 switches::kDisableSkiaRuntimeOpts, |
| 2274 switches::kDisableSlimmingPaintInvalidation, | 2274 switches::kDisableSlimmingPaintInvalidation, |
| 2275 switches::kDisableSmoothScrolling, | 2275 switches::kDisableSmoothScrolling, |
| 2276 switches::kDisableSpeechAPI, | 2276 switches::kDisableSpeechAPI, |
| 2277 switches::kDisableThreadedCompositing, | |
| 2278 switches::kDisableThreadedScrolling, | 2277 switches::kDisableThreadedScrolling, |
| 2279 switches::kDisableTouchAdjustment, | 2278 switches::kDisableTouchAdjustment, |
| 2280 switches::kDisableTouchDragDrop, | 2279 switches::kDisableTouchDragDrop, |
| 2281 switches::kDisableV8IdleTasks, | 2280 switches::kDisableV8IdleTasks, |
| 2282 switches::kDisableWebGLImageChromium, | 2281 switches::kDisableWebGLImageChromium, |
| 2283 switches::kDomAutomationController, | 2282 switches::kDomAutomationController, |
| 2284 switches::kEnableBlinkFeatures, | 2283 switches::kEnableBlinkFeatures, |
| 2285 switches::kEnableBrowserSideNavigation, | 2284 switches::kEnableBrowserSideNavigation, |
| 2286 switches::kEnableDisplayList2dCanvas, | 2285 switches::kEnableDisplayList2dCanvas, |
| 2287 switches::kEnableDistanceFieldText, | 2286 switches::kEnableDistanceFieldText, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 2304 switches::kEnablePluginPlaceholderTesting, | 2303 switches::kEnablePluginPlaceholderTesting, |
| 2305 switches::kEnablePreciseMemoryInfo, | 2304 switches::kEnablePreciseMemoryInfo, |
| 2306 switches::kEnablePrintBrowser, | 2305 switches::kEnablePrintBrowser, |
| 2307 switches::kEnablePreferCompositingToLCDText, | 2306 switches::kEnablePreferCompositingToLCDText, |
| 2308 switches::kEnableRGBA4444Textures, | 2307 switches::kEnableRGBA4444Textures, |
| 2309 switches::kEnableSkiaBenchmarking, | 2308 switches::kEnableSkiaBenchmarking, |
| 2310 switches::kEnableSlimmingPaintV2, | 2309 switches::kEnableSlimmingPaintV2, |
| 2311 switches::kEnableSlimmingPaintInvalidation, | 2310 switches::kEnableSlimmingPaintInvalidation, |
| 2312 switches::kEnableSmoothScrolling, | 2311 switches::kEnableSmoothScrolling, |
| 2313 switches::kEnableStatsTable, | 2312 switches::kEnableStatsTable, |
| 2314 switches::kEnableThreadedCompositing, | |
| 2315 switches::kEnableTouchDragDrop, | 2313 switches::kEnableTouchDragDrop, |
| 2316 switches::kEnableUseZoomForDSF, | 2314 switches::kEnableUseZoomForDSF, |
| 2317 switches::kEnableViewport, | 2315 switches::kEnableViewport, |
| 2318 switches::kEnableVtune, | 2316 switches::kEnableVtune, |
| 2319 switches::kEnableWebFontsInterventionTrigger, | 2317 switches::kEnableWebFontsInterventionTrigger, |
| 2320 switches::kEnableWebFontsInterventionV2, | 2318 switches::kEnableWebFontsInterventionV2, |
| 2321 switches::kEnableWebGLDraftExtensions, | 2319 switches::kEnableWebGLDraftExtensions, |
| 2322 switches::kEnableWebGLImageChromium, | 2320 switches::kEnableWebGLImageChromium, |
| 2323 switches::kEnableWebVR, | 2321 switches::kEnableWebVR, |
| 2324 switches::kExplicitlyAllowedPorts, | 2322 switches::kExplicitlyAllowedPorts, |
| (...skipping 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3787 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3785 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3788 | 3786 |
| 3789 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3787 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3790 // Capture the error message in a crash key value. | 3788 // Capture the error message in a crash key value. |
| 3791 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3789 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3792 bad_message::ReceivedBadMessage(render_process_id, | 3790 bad_message::ReceivedBadMessage(render_process_id, |
| 3793 bad_message::RPH_MOJO_PROCESS_ERROR); | 3791 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3794 } | 3792 } |
| 3795 | 3793 |
| 3796 } // namespace content | 3794 } // namespace content |
| OLD | NEW |