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 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 switches::kEnableWebGLDraftExtensions, | 1450 switches::kEnableWebGLDraftExtensions, |
1451 switches::kEnableWebGLImageChromium, | 1451 switches::kEnableWebGLImageChromium, |
1452 switches::kEnableWebVR, | 1452 switches::kEnableWebVR, |
1453 switches::kExplicitlyAllowedPorts, | 1453 switches::kExplicitlyAllowedPorts, |
1454 switches::kForceDeviceScaleFactor, | 1454 switches::kForceDeviceScaleFactor, |
1455 switches::kForceDisplayList2dCanvas, | 1455 switches::kForceDisplayList2dCanvas, |
1456 switches::kForceOverlayFullscreenVideo, | 1456 switches::kForceOverlayFullscreenVideo, |
1457 switches::kFullMemoryCrashReport, | 1457 switches::kFullMemoryCrashReport, |
1458 switches::kInertVisualViewport, | 1458 switches::kInertVisualViewport, |
1459 switches::kIPCConnectionTimeout, | 1459 switches::kIPCConnectionTimeout, |
| 1460 switches::kIsRunningInMash, |
1460 switches::kJavaScriptFlags, | 1461 switches::kJavaScriptFlags, |
1461 switches::kLoggingLevel, | 1462 switches::kLoggingLevel, |
1462 switches::kMainFrameResizesAreOrientationChanges, | 1463 switches::kMainFrameResizesAreOrientationChanges, |
1463 switches::kMaxUntiledLayerWidth, | 1464 switches::kMaxUntiledLayerWidth, |
1464 switches::kMaxUntiledLayerHeight, | 1465 switches::kMaxUntiledLayerHeight, |
1465 switches::kMemoryMetrics, | 1466 switches::kMemoryMetrics, |
1466 switches::kMojoLocalStorage, | 1467 switches::kMojoLocalStorage, |
1467 switches::kNoReferrers, | 1468 switches::kNoReferrers, |
1468 switches::kNoSandbox, | 1469 switches::kNoSandbox, |
1469 switches::kOverridePluginPowerSaverForTesting, | 1470 switches::kOverridePluginPowerSaverForTesting, |
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2830 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2831 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
2831 | 2832 |
2832 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2833 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
2833 // enough information here so that we can determine what the bad message was. | 2834 // enough information here so that we can determine what the bad message was. |
2834 base::debug::Alias(&error); | 2835 base::debug::Alias(&error); |
2835 bad_message::ReceivedBadMessage(process.get(), | 2836 bad_message::ReceivedBadMessage(process.get(), |
2836 bad_message::RPH_MOJO_PROCESS_ERROR); | 2837 bad_message::RPH_MOJO_PROCESS_ERROR); |
2837 } | 2838 } |
2838 | 2839 |
2839 } // namespace content | 2840 } // namespace content |
OLD | NEW |