| 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 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1740 switches::kTouchEvents, | 1740 switches::kTouchEvents, |
| 1741 switches::kTouchTextSelectionStrategy, | 1741 switches::kTouchTextSelectionStrategy, |
| 1742 switches::kTraceConfigFile, | 1742 switches::kTraceConfigFile, |
| 1743 switches::kTraceToConsole, | 1743 switches::kTraceToConsole, |
| 1744 switches::kUseCrossProcessFramesForGuests, | 1744 switches::kUseCrossProcessFramesForGuests, |
| 1745 switches::kUseFakeUIForMediaStream, | 1745 switches::kUseFakeUIForMediaStream, |
| 1746 // This flag needs to be propagated to the renderer process for | 1746 // This flag needs to be propagated to the renderer process for |
| 1747 // --in-process-webgl. | 1747 // --in-process-webgl. |
| 1748 switches::kUseGL, | 1748 switches::kUseGL, |
| 1749 switches::kUseGpuInTests, | 1749 switches::kUseGpuInTests, |
| 1750 switches::kUseLayerTreeHostRemote, |
| 1750 switches::kUseMobileUserAgent, | 1751 switches::kUseMobileUserAgent, |
| 1751 switches::kUseRemoteCompositing, | 1752 switches::kUseRemoteCompositing, |
| 1752 switches::kV, | 1753 switches::kV, |
| 1753 switches::kV8CacheStrategiesForCacheStorage, | 1754 switches::kV8CacheStrategiesForCacheStorage, |
| 1754 switches::kVideoThreads, | 1755 switches::kVideoThreads, |
| 1755 switches::kVideoUnderflowThresholdMs, | 1756 switches::kVideoUnderflowThresholdMs, |
| 1756 switches::kVModule, | 1757 switches::kVModule, |
| 1757 // Please keep these in alphabetical order. Compositor switches here should | 1758 // Please keep these in alphabetical order. Compositor switches here should |
| 1758 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1759 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1759 cc::switches::kDisableCachedPictureRaster, | 1760 cc::switches::kDisableCachedPictureRaster, |
| (...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2994 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2995 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2995 | 2996 |
| 2996 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2997 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2997 // enough information here so that we can determine what the bad message was. | 2998 // enough information here so that we can determine what the bad message was. |
| 2998 base::debug::Alias(&error); | 2999 base::debug::Alias(&error); |
| 2999 bad_message::ReceivedBadMessage(render_process_id, | 3000 bad_message::ReceivedBadMessage(render_process_id, |
| 3000 bad_message::RPH_MOJO_PROCESS_ERROR); | 3001 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3001 } | 3002 } |
| 3002 | 3003 |
| 3003 } // namespace content | 3004 } // namespace content |
| OLD | NEW |