| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 switches::kNumRasterThreads, | 1122 switches::kNumRasterThreads, |
| 1123 switches::kPpapiInProcess, | 1123 switches::kPpapiInProcess, |
| 1124 switches::kProfilerTiming, | 1124 switches::kProfilerTiming, |
| 1125 switches::kReduceSecurityForTesting, | 1125 switches::kReduceSecurityForTesting, |
| 1126 switches::kRegisterPepperPlugins, | 1126 switches::kRegisterPepperPlugins, |
| 1127 switches::kRendererAssertTest, | 1127 switches::kRendererAssertTest, |
| 1128 switches::kRendererStartupDialog, | 1128 switches::kRendererStartupDialog, |
| 1129 switches::kShowPaintRects, | 1129 switches::kShowPaintRects, |
| 1130 switches::kSitePerProcess, | 1130 switches::kSitePerProcess, |
| 1131 switches::kStatsCollectionController, | 1131 switches::kStatsCollectionController, |
| 1132 switches::kTestSandbox, | |
| 1133 switches::kTestType, | 1132 switches::kTestType, |
| 1134 switches::kTouchEvents, | 1133 switches::kTouchEvents, |
| 1135 switches::kTraceToConsole, | 1134 switches::kTraceToConsole, |
| 1136 switches::kUseDiscardableMemory, | 1135 switches::kUseDiscardableMemory, |
| 1137 // This flag needs to be propagated to the renderer process for | 1136 // This flag needs to be propagated to the renderer process for |
| 1138 // --in-process-webgl. | 1137 // --in-process-webgl. |
| 1139 switches::kUseGL, | 1138 switches::kUseGL, |
| 1140 switches::kUseMobileUserAgent, | 1139 switches::kUseMobileUserAgent, |
| 1141 switches::kV, | 1140 switches::kV, |
| 1142 switches::kVideoThreads, | 1141 switches::kVideoThreads, |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2071 mojo::ScopedMessagePipeHandle handle) { | 2070 mojo::ScopedMessagePipeHandle handle) { |
| 2072 mojo_activation_required_ = true; | 2071 mojo_activation_required_ = true; |
| 2073 MaybeActivateMojo(); | 2072 MaybeActivateMojo(); |
| 2074 | 2073 |
| 2075 mojo::AllocationScope scope; | 2074 mojo::AllocationScope scope; |
| 2076 mojo_application_host_->service_provider()->ConnectToService(service_name, | 2075 mojo_application_host_->service_provider()->ConnectToService(service_name, |
| 2077 handle.Pass()); | 2076 handle.Pass()); |
| 2078 } | 2077 } |
| 2079 | 2078 |
| 2080 } // namespace content | 2079 } // namespace content |
| OLD | NEW |