| 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 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1687 switches::kInertVisualViewport, | 1687 switches::kInertVisualViewport, |
| 1688 switches::kIPCConnectionTimeout, | 1688 switches::kIPCConnectionTimeout, |
| 1689 switches::kIsRunningInMash, | 1689 switches::kIsRunningInMash, |
| 1690 switches::kJavaScriptFlags, | 1690 switches::kJavaScriptFlags, |
| 1691 switches::kLoggingLevel, | 1691 switches::kLoggingLevel, |
| 1692 switches::kMainFrameResizesAreOrientationChanges, | 1692 switches::kMainFrameResizesAreOrientationChanges, |
| 1693 switches::kMaxUntiledLayerWidth, | 1693 switches::kMaxUntiledLayerWidth, |
| 1694 switches::kMaxUntiledLayerHeight, | 1694 switches::kMaxUntiledLayerHeight, |
| 1695 switches::kMemoryMetrics, | 1695 switches::kMemoryMetrics, |
| 1696 switches::kMojoLocalStorage, | 1696 switches::kMojoLocalStorage, |
| 1697 switches::kMojoServiceWorker, |
| 1697 switches::kMSEAudioBufferSizeLimit, | 1698 switches::kMSEAudioBufferSizeLimit, |
| 1698 switches::kMSEVideoBufferSizeLimit, | 1699 switches::kMSEVideoBufferSizeLimit, |
| 1699 switches::kNoReferrers, | 1700 switches::kNoReferrers, |
| 1700 switches::kNoSandbox, | 1701 switches::kNoSandbox, |
| 1701 switches::kOverridePluginPowerSaverForTesting, | 1702 switches::kOverridePluginPowerSaverForTesting, |
| 1702 switches::kPassiveListenersDefault, | 1703 switches::kPassiveListenersDefault, |
| 1703 switches::kPpapiInProcess, | 1704 switches::kPpapiInProcess, |
| 1704 switches::kProfilerTiming, | 1705 switches::kProfilerTiming, |
| 1705 switches::kReducedReferrerGranularity, | 1706 switches::kReducedReferrerGranularity, |
| 1706 switches::kReduceSecurityForTesting, | 1707 switches::kReduceSecurityForTesting, |
| (...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2994 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2995 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2995 | 2996 |
| 2996 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2997 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2997 // enough information here so that we can determine what the bad message was. | 2998 // enough information here so that we can determine what the bad message was. |
| 2998 base::debug::Alias(&error); | 2999 base::debug::Alias(&error); |
| 2999 bad_message::ReceivedBadMessage(process.get(), | 3000 bad_message::ReceivedBadMessage(process.get(), |
| 3000 bad_message::RPH_MOJO_PROCESS_ERROR); | 3001 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3001 } | 3002 } |
| 3002 | 3003 |
| 3003 } // namespace content | 3004 } // namespace content |
| OLD | NEW |