| 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 1792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1803 switches::kDisableLowEndDeviceMode, | 1803 switches::kDisableLowEndDeviceMode, |
| 1804 #if defined(OS_ANDROID) | 1804 #if defined(OS_ANDROID) |
| 1805 switches::kDisableUnifiedMediaPipeline, | 1805 switches::kDisableUnifiedMediaPipeline, |
| 1806 switches::kRendererWaitForJavaDebugger, | 1806 switches::kRendererWaitForJavaDebugger, |
| 1807 #endif | 1807 #endif |
| 1808 #if defined(OS_MACOSX) | 1808 #if defined(OS_MACOSX) |
| 1809 // Allow this to be set when invoking the browser and relayed along. | 1809 // Allow this to be set when invoking the browser and relayed along. |
| 1810 switches::kEnableSandboxLogging, | 1810 switches::kEnableSandboxLogging, |
| 1811 #endif | 1811 #endif |
| 1812 #if defined(OS_WIN) | 1812 #if defined(OS_WIN) |
| 1813 switches::kDisableWin32kRendererLockDown, | 1813 switches::kDisableWin32kLockDown, |
| 1814 switches::kEnableWin7WebRtcHWH264Decoding, | 1814 switches::kEnableWin7WebRtcHWH264Decoding, |
| 1815 switches::kTrySupportedChannelLayouts, | 1815 switches::kTrySupportedChannelLayouts, |
| 1816 switches::kTraceExportEventsToETW, | 1816 switches::kTraceExportEventsToETW, |
| 1817 #endif | 1817 #endif |
| 1818 #if defined(USE_OZONE) | 1818 #if defined(USE_OZONE) |
| 1819 switches::kOzonePlatform, | 1819 switches::kOzonePlatform, |
| 1820 #endif | 1820 #endif |
| 1821 #if defined(OS_CHROMEOS) | 1821 #if defined(OS_CHROMEOS) |
| 1822 switches::kDisableVaapiAcceleratedVideoEncode, | 1822 switches::kDisableVaapiAcceleratedVideoEncode, |
| 1823 #endif | 1823 #endif |
| (...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3031 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3031 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3032 | 3032 |
| 3033 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 3033 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 3034 // enough information here so that we can determine what the bad message was. | 3034 // enough information here so that we can determine what the bad message was. |
| 3035 base::debug::Alias(&error); | 3035 base::debug::Alias(&error); |
| 3036 bad_message::ReceivedBadMessage(render_process_id, | 3036 bad_message::ReceivedBadMessage(render_process_id, |
| 3037 bad_message::RPH_MOJO_PROCESS_ERROR); | 3037 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3038 } | 3038 } |
| 3039 | 3039 |
| 3040 } // namespace content | 3040 } // namespace content |
| OLD | NEW |