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 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1762 switches::kDisableDatabases, | 1762 switches::kDisableDatabases, |
1763 switches::kDisableDisplayList2dCanvas, | 1763 switches::kDisableDisplayList2dCanvas, |
1764 switches::kDisableDistanceFieldText, | 1764 switches::kDisableDistanceFieldText, |
1765 switches::kDisableFileSystem, | 1765 switches::kDisableFileSystem, |
1766 switches::kDisableGestureRequirementForPresentation, | 1766 switches::kDisableGestureRequirementForPresentation, |
1767 switches::kDisableGpuCompositing, | 1767 switches::kDisableGpuCompositing, |
1768 switches::kDisableGpuMemoryBufferVideoFrames, | 1768 switches::kDisableGpuMemoryBufferVideoFrames, |
1769 switches::kDisableGpuVsync, | 1769 switches::kDisableGpuVsync, |
1770 switches::kDisableLowResTiling, | 1770 switches::kDisableLowResTiling, |
1771 switches::kDisableHistogramCustomizer, | 1771 switches::kDisableHistogramCustomizer, |
| 1772 switches::kDisableInProcessStackTraces, |
1772 switches::kDisableLCDText, | 1773 switches::kDisableLCDText, |
1773 switches::kDisableLocalStorage, | 1774 switches::kDisableLocalStorage, |
1774 switches::kDisableLogging, | 1775 switches::kDisableLogging, |
1775 switches::kDisableMediaSuspend, | 1776 switches::kDisableMediaSuspend, |
1776 switches::kDisableNotifications, | 1777 switches::kDisableNotifications, |
1777 switches::kDisablePepper3DImageChromium, | 1778 switches::kDisablePepper3DImageChromium, |
1778 switches::kDisablePermissionsAPI, | 1779 switches::kDisablePermissionsAPI, |
1779 switches::kDisablePresentationAPI, | 1780 switches::kDisablePresentationAPI, |
1780 switches::kDisablePinch, | 1781 switches::kDisablePinch, |
1781 switches::kDisableRGBA4444Textures, | 1782 switches::kDisableRGBA4444Textures, |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3139 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3140 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3140 | 3141 |
3141 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3142 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3142 // Capture the error message in a crash key value. | 3143 // Capture the error message in a crash key value. |
3143 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3144 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3144 bad_message::ReceivedBadMessage(render_process_id, | 3145 bad_message::ReceivedBadMessage(render_process_id, |
3145 bad_message::RPH_MOJO_PROCESS_ERROR); | 3146 bad_message::RPH_MOJO_PROCESS_ERROR); |
3146 } | 3147 } |
3147 | 3148 |
3148 } // namespace content | 3149 } // namespace content |
OLD | NEW |