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 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1180 | 1180 |
1181 AppendCompositorCommandLineFlags(command_line); | 1181 AppendCompositorCommandLineFlags(command_line); |
1182 } | 1182 } |
1183 | 1183 |
1184 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( | 1184 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
1185 const base::CommandLine& browser_cmd, | 1185 const base::CommandLine& browser_cmd, |
1186 base::CommandLine* renderer_cmd) const { | 1186 base::CommandLine* renderer_cmd) const { |
1187 // Propagate the following switches to the renderer command line (along | 1187 // Propagate the following switches to the renderer command line (along |
1188 // with any associated values) if present in the browser command line. | 1188 // with any associated values) if present in the browser command line. |
1189 static const char* const kSwitchNames[] = { | 1189 static const char* const kSwitchNames[] = { |
1190 switches::kAllowInsecureLocalhost, | |
davidben
2015/02/11 19:41:35
We seem to be woefully inconsistent about whether
estark
2015/02/11 21:53:34
Done. You've rendered yourself unnecessary as an O
| |
1190 switches::kAllowInsecureWebSocketFromHttpsOrigin, | 1191 switches::kAllowInsecureWebSocketFromHttpsOrigin, |
1191 switches::kAllowLoopbackInPeerConnection, | 1192 switches::kAllowLoopbackInPeerConnection, |
1192 switches::kAudioBufferSize, | 1193 switches::kAudioBufferSize, |
1193 switches::kAuditAllHandles, | 1194 switches::kAuditAllHandles, |
1194 switches::kAuditHandles, | 1195 switches::kAuditHandles, |
1195 switches::kBlinkPlatformLogChannels, | 1196 switches::kBlinkPlatformLogChannels, |
1196 switches::kBlockCrossSiteDocuments, | 1197 switches::kBlockCrossSiteDocuments, |
1197 switches::kDefaultTileWidth, | 1198 switches::kDefaultTileWidth, |
1198 switches::kDefaultTileHeight, | 1199 switches::kDefaultTileHeight, |
1199 switches::kDisable3DAPIs, | 1200 switches::kDisable3DAPIs, |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2399 if (worker_ref_count_ == 0) | 2400 if (worker_ref_count_ == 0) |
2400 Cleanup(); | 2401 Cleanup(); |
2401 } | 2402 } |
2402 | 2403 |
2403 void RenderProcessHostImpl::GetAudioOutputControllers( | 2404 void RenderProcessHostImpl::GetAudioOutputControllers( |
2404 const GetAudioOutputControllersCallback& callback) const { | 2405 const GetAudioOutputControllersCallback& callback) const { |
2405 audio_renderer_host()->GetOutputControllers(callback); | 2406 audio_renderer_host()->GetOutputControllers(callback); |
2406 } | 2407 } |
2407 | 2408 |
2408 } // namespace content | 2409 } // namespace content |
OLD | NEW |