| 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 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1724 switches::kReducedReferrerGranularity, | 1724 switches::kReducedReferrerGranularity, |
| 1725 switches::kReduceSecurityForTesting, | 1725 switches::kReduceSecurityForTesting, |
| 1726 switches::kRegisterPepperPlugins, | 1726 switches::kRegisterPepperPlugins, |
| 1727 switches::kRendererStartupDialog, | 1727 switches::kRendererStartupDialog, |
| 1728 switches::kRootLayerScrolls, | 1728 switches::kRootLayerScrolls, |
| 1729 switches::kShowPaintRects, | 1729 switches::kShowPaintRects, |
| 1730 switches::kSitePerProcess, | 1730 switches::kSitePerProcess, |
| 1731 switches::kStatsCollectionController, | 1731 switches::kStatsCollectionController, |
| 1732 switches::kTestType, | 1732 switches::kTestType, |
| 1733 switches::kTopDocumentIsolation, | 1733 switches::kTopDocumentIsolation, |
| 1734 switches::kTouchEvents, | 1734 switches::kDisableTouchEventAPI, |
| 1735 switches::kTouchTextSelectionStrategy, | 1735 switches::kTouchTextSelectionStrategy, |
| 1736 switches::kTraceConfigFile, | 1736 switches::kTraceConfigFile, |
| 1737 switches::kTraceToConsole, | 1737 switches::kTraceToConsole, |
| 1738 switches::kUseFakeUIForMediaStream, | 1738 switches::kUseFakeUIForMediaStream, |
| 1739 // This flag needs to be propagated to the renderer process for | 1739 // This flag needs to be propagated to the renderer process for |
| 1740 // --in-process-webgl. | 1740 // --in-process-webgl. |
| 1741 switches::kUseGL, | 1741 switches::kUseGL, |
| 1742 switches::kUseGpuInTests, | 1742 switches::kUseGpuInTests, |
| 1743 switches::kUseMobileUserAgent, | 1743 switches::kUseMobileUserAgent, |
| 1744 switches::kUseRemoteCompositing, | 1744 switches::kUseRemoteCompositing, |
| (...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2985 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2985 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2986 | 2986 |
| 2987 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2987 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2988 // enough information here so that we can determine what the bad message was. | 2988 // enough information here so that we can determine what the bad message was. |
| 2989 base::debug::Alias(&error); | 2989 base::debug::Alias(&error); |
| 2990 bad_message::ReceivedBadMessage(render_process_id, | 2990 bad_message::ReceivedBadMessage(render_process_id, |
| 2991 bad_message::RPH_MOJO_PROCESS_ERROR); | 2991 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2992 } | 2992 } |
| 2993 | 2993 |
| 2994 } // namespace content | 2994 } // namespace content |
| OLD | NEW |