| 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 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1823 switches::kLoggingLevel, | 1823 switches::kLoggingLevel, |
| 1824 switches::kMainFrameResizesAreOrientationChanges, | 1824 switches::kMainFrameResizesAreOrientationChanges, |
| 1825 switches::kMaxUntiledLayerWidth, | 1825 switches::kMaxUntiledLayerWidth, |
| 1826 switches::kMaxUntiledLayerHeight, | 1826 switches::kMaxUntiledLayerHeight, |
| 1827 switches::kMemoryMetrics, | 1827 switches::kMemoryMetrics, |
| 1828 switches::kMojoLocalStorage, | 1828 switches::kMojoLocalStorage, |
| 1829 switches::kMSEAudioBufferSizeLimit, | 1829 switches::kMSEAudioBufferSizeLimit, |
| 1830 switches::kMSEVideoBufferSizeLimit, | 1830 switches::kMSEVideoBufferSizeLimit, |
| 1831 switches::kNoReferrers, | 1831 switches::kNoReferrers, |
| 1832 switches::kNoSandbox, | 1832 switches::kNoSandbox, |
| 1833 switches::kNoUseMusInRenderer, | |
| 1834 switches::kOverridePluginPowerSaverForTesting, | 1833 switches::kOverridePluginPowerSaverForTesting, |
| 1835 switches::kPassiveListenersDefault, | 1834 switches::kPassiveListenersDefault, |
| 1836 switches::kPpapiInProcess, | 1835 switches::kPpapiInProcess, |
| 1837 switches::kProfilerTiming, | 1836 switches::kProfilerTiming, |
| 1838 switches::kReducedReferrerGranularity, | 1837 switches::kReducedReferrerGranularity, |
| 1839 switches::kReduceSecurityForTesting, | 1838 switches::kReduceSecurityForTesting, |
| 1840 switches::kRegisterPepperPlugins, | 1839 switches::kRegisterPepperPlugins, |
| 1841 switches::kRendererStartupDialog, | 1840 switches::kRendererStartupDialog, |
| 1842 switches::kRootLayerScrolls, | 1841 switches::kRootLayerScrolls, |
| 1843 switches::kShowPaintRects, | 1842 switches::kShowPaintRects, |
| (...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3092 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3091 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3093 | 3092 |
| 3094 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3093 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3095 // Capture the error message in a crash key value. | 3094 // Capture the error message in a crash key value. |
| 3096 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3095 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3097 bad_message::ReceivedBadMessage(render_process_id, | 3096 bad_message::ReceivedBadMessage(render_process_id, |
| 3098 bad_message::RPH_MOJO_PROCESS_ERROR); | 3097 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3099 } | 3098 } |
| 3100 | 3099 |
| 3101 } // namespace content | 3100 } // namespace content |
| OLD | NEW |