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