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