| 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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1787 switches::kTouchEventFeatureDetection, | 1787 switches::kTouchEventFeatureDetection, |
| 1788 switches::kTouchTextSelectionStrategy, | 1788 switches::kTouchTextSelectionStrategy, |
| 1789 switches::kTraceConfigFile, | 1789 switches::kTraceConfigFile, |
| 1790 switches::kTraceToConsole, | 1790 switches::kTraceToConsole, |
| 1791 switches::kUseFakeUIForMediaStream, | 1791 switches::kUseFakeUIForMediaStream, |
| 1792 // This flag needs to be propagated to the renderer process for | 1792 // This flag needs to be propagated to the renderer process for |
| 1793 // --in-process-webgl. | 1793 // --in-process-webgl. |
| 1794 switches::kUseGL, | 1794 switches::kUseGL, |
| 1795 switches::kUseGpuInTests, | 1795 switches::kUseGpuInTests, |
| 1796 switches::kUseMobileUserAgent, | 1796 switches::kUseMobileUserAgent, |
| 1797 switches::kUseRemoteCompositing, | |
| 1798 switches::kV, | 1797 switches::kV, |
| 1799 switches::kV8CacheStrategiesForCacheStorage, | 1798 switches::kV8CacheStrategiesForCacheStorage, |
| 1800 switches::kVideoThreads, | 1799 switches::kVideoThreads, |
| 1801 switches::kVideoUnderflowThresholdMs, | 1800 switches::kVideoUnderflowThresholdMs, |
| 1802 switches::kVModule, | 1801 switches::kVModule, |
| 1803 // Please keep these in alphabetical order. Compositor switches here should | 1802 // Please keep these in alphabetical order. Compositor switches here should |
| 1804 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1803 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1805 cc::switches::kCheckTilePriorityInversion, | 1804 cc::switches::kCheckTilePriorityInversion, |
| 1806 cc::switches::kDisableCachedPictureRaster, | 1805 cc::switches::kDisableCachedPictureRaster, |
| 1807 cc::switches::kDisableCompositedAntialiasing, | 1806 cc::switches::kDisableCompositedAntialiasing, |
| (...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3025 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3024 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3026 | 3025 |
| 3027 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3026 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3028 // Capture the error message in a crash key value. | 3027 // Capture the error message in a crash key value. |
| 3029 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3028 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3030 bad_message::ReceivedBadMessage(render_process_id, | 3029 bad_message::ReceivedBadMessage(render_process_id, |
| 3031 bad_message::RPH_MOJO_PROCESS_ERROR); | 3030 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3032 } | 3031 } |
| 3033 | 3032 |
| 3034 } // namespace content | 3033 } // namespace content |
| OLD | NEW |