| 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 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1501 switches::kInertVisualViewport, | 1501 switches::kInertVisualViewport, |
| 1502 switches::kIPCConnectionTimeout, | 1502 switches::kIPCConnectionTimeout, |
| 1503 switches::kIsRunningInMash, | 1503 switches::kIsRunningInMash, |
| 1504 switches::kJavaScriptFlags, | 1504 switches::kJavaScriptFlags, |
| 1505 switches::kLoggingLevel, | 1505 switches::kLoggingLevel, |
| 1506 switches::kMainFrameResizesAreOrientationChanges, | 1506 switches::kMainFrameResizesAreOrientationChanges, |
| 1507 switches::kMaxUntiledLayerWidth, | 1507 switches::kMaxUntiledLayerWidth, |
| 1508 switches::kMaxUntiledLayerHeight, | 1508 switches::kMaxUntiledLayerHeight, |
| 1509 switches::kMemoryMetrics, | 1509 switches::kMemoryMetrics, |
| 1510 switches::kMojoLocalStorage, | 1510 switches::kMojoLocalStorage, |
| 1511 switches::kMSEAudioBufferSizeLimit, |
| 1512 switches::kMSEVideoBufferSizeLimit, |
| 1511 switches::kNoReferrers, | 1513 switches::kNoReferrers, |
| 1512 switches::kNoSandbox, | 1514 switches::kNoSandbox, |
| 1513 switches::kOverridePluginPowerSaverForTesting, | 1515 switches::kOverridePluginPowerSaverForTesting, |
| 1514 switches::kPassiveListenersDefault, | 1516 switches::kPassiveListenersDefault, |
| 1515 switches::kPpapiInProcess, | 1517 switches::kPpapiInProcess, |
| 1516 switches::kProfilerTiming, | 1518 switches::kProfilerTiming, |
| 1517 switches::kReducedReferrerGranularity, | 1519 switches::kReducedReferrerGranularity, |
| 1518 switches::kReduceSecurityForTesting, | 1520 switches::kReduceSecurityForTesting, |
| 1519 switches::kRegisterPepperPlugins, | 1521 switches::kRegisterPepperPlugins, |
| 1520 switches::kRendererStartupDialog, | 1522 switches::kRendererStartupDialog, |
| (...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2785 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2787 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2786 | 2788 |
| 2787 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2789 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2788 // enough information here so that we can determine what the bad message was. | 2790 // enough information here so that we can determine what the bad message was. |
| 2789 base::debug::Alias(&error); | 2791 base::debug::Alias(&error); |
| 2790 bad_message::ReceivedBadMessage(process.get(), | 2792 bad_message::ReceivedBadMessage(process.get(), |
| 2791 bad_message::RPH_MOJO_PROCESS_ERROR); | 2793 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2792 } | 2794 } |
| 2793 | 2795 |
| 2794 } // namespace content | 2796 } // namespace content |
| OLD | NEW |