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