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 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1469 switches::kEnableWebGLDraftExtensions, | 1469 switches::kEnableWebGLDraftExtensions, |
1470 switches::kEnableWebGLImageChromium, | 1470 switches::kEnableWebGLImageChromium, |
1471 switches::kEnableWebVR, | 1471 switches::kEnableWebVR, |
1472 switches::kExplicitlyAllowedPorts, | 1472 switches::kExplicitlyAllowedPorts, |
1473 switches::kForceDeviceScaleFactor, | 1473 switches::kForceDeviceScaleFactor, |
1474 switches::kForceDisplayList2dCanvas, | 1474 switches::kForceDisplayList2dCanvas, |
1475 switches::kForceOverlayFullscreenVideo, | 1475 switches::kForceOverlayFullscreenVideo, |
1476 switches::kFullMemoryCrashReport, | 1476 switches::kFullMemoryCrashReport, |
1477 switches::kInertVisualViewport, | 1477 switches::kInertVisualViewport, |
1478 switches::kIPCConnectionTimeout, | 1478 switches::kIPCConnectionTimeout, |
| 1479 switches::kIsRunningInMash, |
1479 switches::kJavaScriptFlags, | 1480 switches::kJavaScriptFlags, |
1480 switches::kLoggingLevel, | 1481 switches::kLoggingLevel, |
1481 switches::kMainFrameResizesAreOrientationChanges, | 1482 switches::kMainFrameResizesAreOrientationChanges, |
1482 switches::kMaxUntiledLayerWidth, | 1483 switches::kMaxUntiledLayerWidth, |
1483 switches::kMaxUntiledLayerHeight, | 1484 switches::kMaxUntiledLayerHeight, |
1484 switches::kMemoryMetrics, | 1485 switches::kMemoryMetrics, |
1485 switches::kMojoLocalStorage, | 1486 switches::kMojoLocalStorage, |
1486 switches::kNoReferrers, | 1487 switches::kNoReferrers, |
1487 switches::kNoSandbox, | 1488 switches::kNoSandbox, |
1488 switches::kOverridePluginPowerSaverForTesting, | 1489 switches::kOverridePluginPowerSaverForTesting, |
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2768 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2769 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
2769 | 2770 |
2770 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2771 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
2771 // enough information here so that we can determine what the bad message was. | 2772 // enough information here so that we can determine what the bad message was. |
2772 base::debug::Alias(&error); | 2773 base::debug::Alias(&error); |
2773 bad_message::ReceivedBadMessage(process.get(), | 2774 bad_message::ReceivedBadMessage(process.get(), |
2774 bad_message::RPH_MOJO_PROCESS_ERROR); | 2775 bad_message::RPH_MOJO_PROCESS_ERROR); |
2775 } | 2776 } |
2776 | 2777 |
2777 } // namespace content | 2778 } // namespace content |
OLD | NEW |