| 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 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1507 switches::kTopDocumentIsolation, | 1507 switches::kTopDocumentIsolation, |
| 1508 switches::kTouchEvents, | 1508 switches::kTouchEvents, |
| 1509 switches::kTouchTextSelectionStrategy, | 1509 switches::kTouchTextSelectionStrategy, |
| 1510 switches::kTraceConfigFile, | 1510 switches::kTraceConfigFile, |
| 1511 switches::kTraceToConsole, | 1511 switches::kTraceToConsole, |
| 1512 switches::kUseCrossProcessFramesForGuests, | 1512 switches::kUseCrossProcessFramesForGuests, |
| 1513 switches::kUseFakeUIForMediaStream, | 1513 switches::kUseFakeUIForMediaStream, |
| 1514 // This flag needs to be propagated to the renderer process for | 1514 // This flag needs to be propagated to the renderer process for |
| 1515 // --in-process-webgl. | 1515 // --in-process-webgl. |
| 1516 switches::kUseGL, | 1516 switches::kUseGL, |
| 1517 switches::kUseGpuInTests, |
| 1517 switches::kUseMobileUserAgent, | 1518 switches::kUseMobileUserAgent, |
| 1518 switches::kUseRemoteCompositing, | 1519 switches::kUseRemoteCompositing, |
| 1519 switches::kV, | 1520 switches::kV, |
| 1520 switches::kV8CacheStrategiesForCacheStorage, | 1521 switches::kV8CacheStrategiesForCacheStorage, |
| 1521 switches::kVideoThreads, | 1522 switches::kVideoThreads, |
| 1522 switches::kVideoUnderflowThresholdMs, | 1523 switches::kVideoUnderflowThresholdMs, |
| 1523 switches::kVModule, | 1524 switches::kVModule, |
| 1524 // Please keep these in alphabetical order. Compositor switches here should | 1525 // Please keep these in alphabetical order. Compositor switches here should |
| 1525 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1526 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1526 cc::switches::kDisableCachedPictureRaster, | 1527 cc::switches::kDisableCachedPictureRaster, |
| (...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2782 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2783 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2783 | 2784 |
| 2784 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2785 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2785 // enough information here so that we can determine what the bad message was. | 2786 // enough information here so that we can determine what the bad message was. |
| 2786 base::debug::Alias(&error); | 2787 base::debug::Alias(&error); |
| 2787 bad_message::ReceivedBadMessage(process.get(), | 2788 bad_message::ReceivedBadMessage(process.get(), |
| 2788 bad_message::RPH_MOJO_PROCESS_ERROR); | 2789 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2789 } | 2790 } |
| 2790 | 2791 |
| 2791 } // namespace content | 2792 } // namespace content |
| OLD | NEW |