| 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 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2136 switches::kDisableMediaSuspend, | 2136 switches::kDisableMediaSuspend, |
| 2137 switches::kDisableNotifications, | 2137 switches::kDisableNotifications, |
| 2138 switches::kDisablePepper3DImageChromium, | 2138 switches::kDisablePepper3DImageChromium, |
| 2139 switches::kDisablePermissionsAPI, | 2139 switches::kDisablePermissionsAPI, |
| 2140 switches::kDisablePresentationAPI, | 2140 switches::kDisablePresentationAPI, |
| 2141 switches::kDisablePinch, | 2141 switches::kDisablePinch, |
| 2142 switches::kDisableRGBA4444Textures, | 2142 switches::kDisableRGBA4444Textures, |
| 2143 switches::kDisableRTCSmoothnessAlgorithm, | 2143 switches::kDisableRTCSmoothnessAlgorithm, |
| 2144 switches::kDisableSeccompFilterSandbox, | 2144 switches::kDisableSeccompFilterSandbox, |
| 2145 switches::kDisableSharedWorkers, | 2145 switches::kDisableSharedWorkers, |
| 2146 switches::kDisableShowClientPlaceholdersForServerLoFi, |
| 2146 switches::kDisableSkiaRuntimeOpts, | 2147 switches::kDisableSkiaRuntimeOpts, |
| 2147 switches::kDisableSlimmingPaintInvalidation, | 2148 switches::kDisableSlimmingPaintInvalidation, |
| 2148 switches::kDisableSmoothScrolling, | 2149 switches::kDisableSmoothScrolling, |
| 2149 switches::kDisableSpeechAPI, | 2150 switches::kDisableSpeechAPI, |
| 2150 switches::kDisableThreadedCompositing, | 2151 switches::kDisableThreadedCompositing, |
| 2151 switches::kDisableThreadedScrolling, | 2152 switches::kDisableThreadedScrolling, |
| 2152 switches::kDisableTouchAdjustment, | 2153 switches::kDisableTouchAdjustment, |
| 2153 switches::kDisableTouchDragDrop, | 2154 switches::kDisableTouchDragDrop, |
| 2154 switches::kDisableV8IdleTasks, | 2155 switches::kDisableV8IdleTasks, |
| 2155 switches::kDisableWebGLImageChromium, | 2156 switches::kDisableWebGLImageChromium, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 2172 switches::kEnableLCDText, | 2173 switches::kEnableLCDText, |
| 2173 switches::kEnableLogging, | 2174 switches::kEnableLogging, |
| 2174 switches::kEnableNetworkInformation, | 2175 switches::kEnableNetworkInformation, |
| 2175 switches::kEnableNetworkService, | 2176 switches::kEnableNetworkService, |
| 2176 switches::kEnablePinch, | 2177 switches::kEnablePinch, |
| 2177 switches::kEnablePluginPlaceholderTesting, | 2178 switches::kEnablePluginPlaceholderTesting, |
| 2178 switches::kEnablePreciseMemoryInfo, | 2179 switches::kEnablePreciseMemoryInfo, |
| 2179 switches::kEnablePrintBrowser, | 2180 switches::kEnablePrintBrowser, |
| 2180 switches::kEnablePreferCompositingToLCDText, | 2181 switches::kEnablePreferCompositingToLCDText, |
| 2181 switches::kEnableRGBA4444Textures, | 2182 switches::kEnableRGBA4444Textures, |
| 2183 switches::kEnableShowClientPlaceholdersForServerLoFi, |
| 2182 switches::kEnableSkiaBenchmarking, | 2184 switches::kEnableSkiaBenchmarking, |
| 2183 switches::kEnableSlimmingPaintV2, | 2185 switches::kEnableSlimmingPaintV2, |
| 2184 switches::kEnableSlimmingPaintInvalidation, | 2186 switches::kEnableSlimmingPaintInvalidation, |
| 2185 switches::kEnableSmoothScrolling, | 2187 switches::kEnableSmoothScrolling, |
| 2186 switches::kEnableStatsTable, | 2188 switches::kEnableStatsTable, |
| 2187 switches::kEnableThreadedCompositing, | 2189 switches::kEnableThreadedCompositing, |
| 2188 switches::kEnableTouchDragDrop, | 2190 switches::kEnableTouchDragDrop, |
| 2189 switches::kEnableUseZoomForDSF, | 2191 switches::kEnableUseZoomForDSF, |
| 2190 switches::kEnableViewport, | 2192 switches::kEnableViewport, |
| 2191 switches::kEnableVtune, | 2193 switches::kEnableVtune, |
| (...skipping 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3635 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3637 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3636 | 3638 |
| 3637 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3639 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3638 // Capture the error message in a crash key value. | 3640 // Capture the error message in a crash key value. |
| 3639 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3641 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3640 bad_message::ReceivedBadMessage(render_process_id, | 3642 bad_message::ReceivedBadMessage(render_process_id, |
| 3641 bad_message::RPH_MOJO_PROCESS_ERROR); | 3643 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3642 } | 3644 } |
| 3643 | 3645 |
| 3644 } // namespace content | 3646 } // namespace content |
| OLD | NEW |