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

Side by Side Diff: content/public/common/content_switches.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: latest round from jww and sleevi 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
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 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
11 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; 11 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count";
12 12
13 // By default, file:// URIs cannot read other file:// URIs. This is an 13 // By default, file:// URIs cannot read other file:// URIs. This is an
14 // override for developers who need the old behavior for testing. 14 // override for developers who need the old behavior for testing.
15 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; 15 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files";
16 16
17 // Enables TLS/SSL errors on localhost to be ignored (no interstitial,
18 // no blocking of requests).
19 const char kAllowInsecureLocalhost[] = "allow-insecure-localhost";
20
17 // Allows frames with an https origin to use WebSockets with an insecure URL 21 // Allows frames with an https origin to use WebSockets with an insecure URL
18 // (ws://). 22 // (ws://).
19 const char kAllowInsecureWebSocketFromHttpsOrigin[] = 23 const char kAllowInsecureWebSocketFromHttpsOrigin[] =
20 "allow-insecure-websocket-from-https-origin"; 24 "allow-insecure-websocket-from-https-origin";
21 25
22 // Allows loopback interface to be added in network list for peer connection. 26 // Allows loopback interface to be added in network list for peer connection.
23 const char kAllowLoopbackInPeerConnection[] = 27 const char kAllowLoopbackInPeerConnection[] =
24 "allow-loopback-in-peer-connection"; 28 "allow-loopback-in-peer-connection";
25 29
26 // Enables the sandboxed processes to run without a job object assigned to them. 30 // Enables the sandboxed processes to run without a job object assigned to them.
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 const char kEnableNpapi[] = "enable-npapi"; 974 const char kEnableNpapi[] = "enable-npapi";
971 975
972 #if defined(ENABLE_PLUGINS) 976 #if defined(ENABLE_PLUGINS)
973 // Enables the plugin power saver feature. 977 // Enables the plugin power saver feature.
974 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 978 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
975 #endif 979 #endif
976 980
977 // Don't dump stuff here, follow the same order as the header. 981 // Don't dump stuff here, follow the same order as the header.
978 982
979 } // namespace switches 983 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698