| 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 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1602 switches::kInertVisualViewport, | 1602 switches::kInertVisualViewport, |
| 1603 switches::kIPCConnectionTimeout, | 1603 switches::kIPCConnectionTimeout, |
| 1604 switches::kIsRunningInMash, | 1604 switches::kIsRunningInMash, |
| 1605 switches::kJavaScriptFlags, | 1605 switches::kJavaScriptFlags, |
| 1606 switches::kLoggingLevel, | 1606 switches::kLoggingLevel, |
| 1607 switches::kMainFrameResizesAreOrientationChanges, | 1607 switches::kMainFrameResizesAreOrientationChanges, |
| 1608 switches::kMaxUntiledLayerWidth, | 1608 switches::kMaxUntiledLayerWidth, |
| 1609 switches::kMaxUntiledLayerHeight, | 1609 switches::kMaxUntiledLayerHeight, |
| 1610 switches::kMemoryMetrics, | 1610 switches::kMemoryMetrics, |
| 1611 switches::kMojoLocalStorage, | 1611 switches::kMojoLocalStorage, |
| 1612 switches::kMojoServiceWorker, |
| 1612 switches::kMSEAudioBufferSizeLimit, | 1613 switches::kMSEAudioBufferSizeLimit, |
| 1613 switches::kMSEVideoBufferSizeLimit, | 1614 switches::kMSEVideoBufferSizeLimit, |
| 1614 switches::kNoReferrers, | 1615 switches::kNoReferrers, |
| 1615 switches::kNoSandbox, | 1616 switches::kNoSandbox, |
| 1616 switches::kOverridePluginPowerSaverForTesting, | 1617 switches::kOverridePluginPowerSaverForTesting, |
| 1617 switches::kPassiveListenersDefault, | 1618 switches::kPassiveListenersDefault, |
| 1618 switches::kPpapiInProcess, | 1619 switches::kPpapiInProcess, |
| 1619 switches::kProfilerTiming, | 1620 switches::kProfilerTiming, |
| 1620 switches::kReducedReferrerGranularity, | 1621 switches::kReducedReferrerGranularity, |
| 1621 switches::kReduceSecurityForTesting, | 1622 switches::kReduceSecurityForTesting, |
| (...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2898 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2899 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2899 | 2900 |
| 2900 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2901 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2901 // enough information here so that we can determine what the bad message was. | 2902 // enough information here so that we can determine what the bad message was. |
| 2902 base::debug::Alias(&error); | 2903 base::debug::Alias(&error); |
| 2903 bad_message::ReceivedBadMessage(process.get(), | 2904 bad_message::ReceivedBadMessage(process.get(), |
| 2904 bad_message::RPH_MOJO_PROCESS_ERROR); | 2905 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2905 } | 2906 } |
| 2906 | 2907 |
| 2907 } // namespace content | 2908 } // namespace content |
| OLD | NEW |