| 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 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1481 switches::kDisableSharedWorkers, | 1481 switches::kDisableSharedWorkers, |
| 1482 switches::kDisableSmoothScrolling, | 1482 switches::kDisableSmoothScrolling, |
| 1483 switches::kDisableSpeechAPI, | 1483 switches::kDisableSpeechAPI, |
| 1484 switches::kDisableThreadedCompositing, | 1484 switches::kDisableThreadedCompositing, |
| 1485 switches::kDisableThreadedScrolling, | 1485 switches::kDisableThreadedScrolling, |
| 1486 switches::kDisableTouchAdjustment, | 1486 switches::kDisableTouchAdjustment, |
| 1487 switches::kDisableTouchDragDrop, | 1487 switches::kDisableTouchDragDrop, |
| 1488 switches::kDisableV8IdleTasks, | 1488 switches::kDisableV8IdleTasks, |
| 1489 switches::kDisableWebGLImageChromium, | 1489 switches::kDisableWebGLImageChromium, |
| 1490 switches::kDomAutomationController, | 1490 switches::kDomAutomationController, |
| 1491 switches::kEnableAsmWasm, |
| 1491 switches::kEnableBlinkFeatures, | 1492 switches::kEnableBlinkFeatures, |
| 1492 switches::kEnableBrowserSideNavigation, | 1493 switches::kEnableBrowserSideNavigation, |
| 1493 switches::kEnableDisplayList2dCanvas, | 1494 switches::kEnableDisplayList2dCanvas, |
| 1494 switches::kEnableDistanceFieldText, | 1495 switches::kEnableDistanceFieldText, |
| 1495 switches::kEnableExperimentalCanvasFeatures, | 1496 switches::kEnableExperimentalCanvasFeatures, |
| 1496 switches::kEnableExperimentalWebPlatformFeatures, | 1497 switches::kEnableExperimentalWebPlatformFeatures, |
| 1497 switches::kEnableHeapProfiling, | 1498 switches::kEnableHeapProfiling, |
| 1498 switches::kEnableGPUClientLogging, | 1499 switches::kEnableGPUClientLogging, |
| 1499 switches::kEnableGpuClientTracing, | 1500 switches::kEnableGpuClientTracing, |
| 1500 switches::kEnableGpuMemoryBufferVideoFrames, | 1501 switches::kEnableGpuMemoryBufferVideoFrames, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1517 switches::kEnableSlimmingPaintV2, | 1518 switches::kEnableSlimmingPaintV2, |
| 1518 switches::kEnableSmoothScrolling, | 1519 switches::kEnableSmoothScrolling, |
| 1519 switches::kEnableStatsTable, | 1520 switches::kEnableStatsTable, |
| 1520 switches::kEnableThreadedCompositing, | 1521 switches::kEnableThreadedCompositing, |
| 1521 switches::kEnableTouchDragDrop, | 1522 switches::kEnableTouchDragDrop, |
| 1522 switches::kEnableUnsafeES3APIs, | 1523 switches::kEnableUnsafeES3APIs, |
| 1523 switches::kEnableUseZoomForDSF, | 1524 switches::kEnableUseZoomForDSF, |
| 1524 switches::kEnableViewport, | 1525 switches::kEnableViewport, |
| 1525 switches::kEnableVp9InMp4, | 1526 switches::kEnableVp9InMp4, |
| 1526 switches::kEnableVtune, | 1527 switches::kEnableVtune, |
| 1528 switches::kEnableWasm, |
| 1527 switches::kEnableWebBluetooth, | 1529 switches::kEnableWebBluetooth, |
| 1528 switches::kEnableWebFontsInterventionTrigger, | 1530 switches::kEnableWebFontsInterventionTrigger, |
| 1529 switches::kEnableWebFontsInterventionV2, | 1531 switches::kEnableWebFontsInterventionV2, |
| 1530 switches::kEnableWebGLDraftExtensions, | 1532 switches::kEnableWebGLDraftExtensions, |
| 1531 switches::kEnableWebGLImageChromium, | 1533 switches::kEnableWebGLImageChromium, |
| 1532 switches::kEnableWebVR, | 1534 switches::kEnableWebVR, |
| 1533 switches::kExplicitlyAllowedPorts, | 1535 switches::kExplicitlyAllowedPorts, |
| 1534 switches::kForceDeviceScaleFactor, | 1536 switches::kForceDeviceScaleFactor, |
| 1535 switches::kForceDisplayList2dCanvas, | 1537 switches::kForceDisplayList2dCanvas, |
| 1536 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1538 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2832 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2834 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2833 | 2835 |
| 2834 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2836 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2835 // enough information here so that we can determine what the bad message was. | 2837 // enough information here so that we can determine what the bad message was. |
| 2836 base::debug::Alias(&error); | 2838 base::debug::Alias(&error); |
| 2837 bad_message::ReceivedBadMessage(process.get(), | 2839 bad_message::ReceivedBadMessage(process.get(), |
| 2838 bad_message::RPH_MOJO_PROCESS_ERROR); | 2840 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2839 } | 2841 } |
| 2840 | 2842 |
| 2841 } // namespace content | 2843 } // namespace content |
| OLD | NEW |