Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 887223005: Skip interstitials and don't block requests for localhost SSL errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops, this one includes the whole diff, not just part of it Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/data/ssl/write_to_title.js ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/test/data/ssl/write_to_title.js ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698