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

Side by Side Diff: chrome/common/chrome_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: Added warning in console on localhost SSL errors 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 20 matching lines...) Expand all
31 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt"; 31 const char kAllowCrossOriginAuthPrompt[] = "allow-cross-origin-auth-prompt";
32 32
33 // On ChromeOS, file:// access is disabled except for certain whitelisted 33 // On ChromeOS, file:// access is disabled except for certain whitelisted
34 // directories. This switch re-enables file:// for testing. 34 // directories. This switch re-enables file:// for testing.
35 const char kAllowFileAccess[] = "allow-file-access"; 35 const char kAllowFileAccess[] = "allow-file-access";
36 36
37 // Allow non-secure origins to use the screen capture API and the desktopCapture 37 // Allow non-secure origins to use the screen capture API and the desktopCapture
38 // extension API. 38 // extension API.
39 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture"; 39 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture";
40 40
41 // Enables TLS/SSL errors on localhost to be ignored (no interstitial,
42 // no blocking of requests).
43 const char kAllowInsecureLocalhost[] = "allow-insecure-localhost";
44
41 #if defined(ENABLE_PLUGINS) 45 #if defined(ENABLE_PLUGINS)
42 // Specifies comma-separated list of extension ids or hosts to grant 46 // Specifies comma-separated list of extension ids or hosts to grant
43 // access to CRX file system APIs. 47 // access to CRX file system APIs.
44 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; 48 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api";
45 49
46 // Specifies comma-separated list of extension ids or hosts to grant 50 // Specifies comma-separated list of extension ids or hosts to grant
47 // access to file handle APIs. 51 // access to file handle APIs.
48 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; 52 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api";
49 53
50 // Specifies comma-separated list of extension ids or hosts to grant 54 // Specifies comma-separated list of extension ids or hosts to grant
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 1396
1393 // ----------------------------------------------------------------------------- 1397 // -----------------------------------------------------------------------------
1394 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1395 // 1399 //
1396 // You were going to just dump your switches here, weren't you? Instead, please 1400 // You were going to just dump your switches here, weren't you? Instead, please
1397 // put them in alphabetical order above, or in order inside the appropriate 1401 // put them in alphabetical order above, or in order inside the appropriate
1398 // ifdef at the bottom. The order should match the header. 1402 // ifdef at the bottom. The order should match the header.
1399 // ----------------------------------------------------------------------------- 1403 // -----------------------------------------------------------------------------
1400 1404
1401 } // namespace switches 1405 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698