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 1675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1686 switches::kDisableGpuCompositing, | 1686 switches::kDisableGpuCompositing, |
1687 switches::kDisableGpuMemoryBufferVideoFrames, | 1687 switches::kDisableGpuMemoryBufferVideoFrames, |
1688 switches::kDisableGpuVsync, | 1688 switches::kDisableGpuVsync, |
1689 switches::kDisableLowResTiling, | 1689 switches::kDisableLowResTiling, |
1690 switches::kDisableHistogramCustomizer, | 1690 switches::kDisableHistogramCustomizer, |
1691 switches::kDisableIconNtp, | 1691 switches::kDisableIconNtp, |
1692 switches::kDisableLCDText, | 1692 switches::kDisableLCDText, |
1693 switches::kDisableLocalStorage, | 1693 switches::kDisableLocalStorage, |
1694 switches::kDisableLogging, | 1694 switches::kDisableLogging, |
1695 switches::kDisableMediaSuspend, | 1695 switches::kDisableMediaSuspend, |
1696 switches::kDisableMojoServiceWorker, | |
1697 switches::kDisableNotifications, | 1696 switches::kDisableNotifications, |
1698 switches::kDisableOverlayScrollbar, | 1697 switches::kDisableOverlayScrollbar, |
1699 switches::kDisablePepper3DImageChromium, | 1698 switches::kDisablePepper3DImageChromium, |
1700 switches::kDisablePermissionsAPI, | 1699 switches::kDisablePermissionsAPI, |
1701 switches::kDisablePresentationAPI, | 1700 switches::kDisablePresentationAPI, |
1702 switches::kDisablePinch, | 1701 switches::kDisablePinch, |
1703 switches::kDisableRGBA4444Textures, | 1702 switches::kDisableRGBA4444Textures, |
1704 switches::kDisableRTCSmoothnessAlgorithm, | 1703 switches::kDisableRTCSmoothnessAlgorithm, |
1705 switches::kDisableSeccompFilterSandbox, | 1704 switches::kDisableSeccompFilterSandbox, |
1706 switches::kDisableSharedWorkers, | 1705 switches::kDisableSharedWorkers, |
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3035 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3034 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3036 | 3035 |
3037 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3036 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3038 // Capture the error message in a crash key value. | 3037 // Capture the error message in a crash key value. |
3039 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3038 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3040 bad_message::ReceivedBadMessage(render_process_id, | 3039 bad_message::ReceivedBadMessage(render_process_id, |
3041 bad_message::RPH_MOJO_PROCESS_ERROR); | 3040 bad_message::RPH_MOJO_PROCESS_ERROR); |
3042 } | 3041 } |
3043 | 3042 |
3044 } // namespace content | 3043 } // namespace content |
OLD | NEW |