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