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 #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 Loading... |
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 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1405 | 1409 |
1406 // ----------------------------------------------------------------------------- | 1410 // ----------------------------------------------------------------------------- |
1407 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1411 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1408 // | 1412 // |
1409 // You were going to just dump your switches here, weren't you? Instead, please | 1413 // You were going to just dump your switches here, weren't you? Instead, please |
1410 // put them in alphabetical order above, or in order inside the appropriate | 1414 // put them in alphabetical order above, or in order inside the appropriate |
1411 // ifdef at the bottom. The order should match the header. | 1415 // ifdef at the bottom. The order should match the header. |
1412 // ----------------------------------------------------------------------------- | 1416 // ----------------------------------------------------------------------------- |
1413 | 1417 |
1414 } // namespace switches | 1418 } // namespace switches |
OLD | NEW |