| 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 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1527 switches::kTopDocumentIsolation, | 1527 switches::kTopDocumentIsolation, |
| 1528 switches::kTouchEvents, | 1528 switches::kTouchEvents, |
| 1529 switches::kTouchTextSelectionStrategy, | 1529 switches::kTouchTextSelectionStrategy, |
| 1530 switches::kTraceConfigFile, | 1530 switches::kTraceConfigFile, |
| 1531 switches::kTraceToConsole, | 1531 switches::kTraceToConsole, |
| 1532 switches::kUseCrossProcessFramesForGuests, | 1532 switches::kUseCrossProcessFramesForGuests, |
| 1533 switches::kUseFakeUIForMediaStream, | 1533 switches::kUseFakeUIForMediaStream, |
| 1534 // This flag needs to be propagated to the renderer process for | 1534 // This flag needs to be propagated to the renderer process for |
| 1535 // --in-process-webgl. | 1535 // --in-process-webgl. |
| 1536 switches::kUseGL, | 1536 switches::kUseGL, |
| 1537 switches::kUseGpuInTests, |
| 1537 switches::kUseMobileUserAgent, | 1538 switches::kUseMobileUserAgent, |
| 1538 switches::kUseRemoteCompositing, | 1539 switches::kUseRemoteCompositing, |
| 1539 switches::kV, | 1540 switches::kV, |
| 1540 switches::kV8CacheStrategiesForCacheStorage, | 1541 switches::kV8CacheStrategiesForCacheStorage, |
| 1541 switches::kVideoThreads, | 1542 switches::kVideoThreads, |
| 1542 switches::kVideoUnderflowThresholdMs, | 1543 switches::kVideoUnderflowThresholdMs, |
| 1543 switches::kVModule, | 1544 switches::kVModule, |
| 1544 // Please keep these in alphabetical order. Compositor switches here should | 1545 // Please keep these in alphabetical order. Compositor switches here should |
| 1545 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1546 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1546 cc::switches::kDisableCachedPictureRaster, | 1547 cc::switches::kDisableCachedPictureRaster, |
| (...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2793 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2794 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2794 | 2795 |
| 2795 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2796 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2796 // enough information here so that we can determine what the bad message was. | 2797 // enough information here so that we can determine what the bad message was. |
| 2797 base::debug::Alias(&error); | 2798 base::debug::Alias(&error); |
| 2798 bad_message::ReceivedBadMessage(process.get(), | 2799 bad_message::ReceivedBadMessage(process.get(), |
| 2799 bad_message::RPH_MOJO_PROCESS_ERROR); | 2800 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2800 } | 2801 } |
| 2801 | 2802 |
| 2802 } // namespace content | 2803 } // namespace content |
| OLD | NEW |