| 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 16 matching lines...) Expand all Loading... |
| 27 "allow-create-existing-managed-users"; | 27 "allow-create-existing-managed-users"; |
| 28 | 28 |
| 29 // Allows third-party content included on a page to prompt for a HTTP basic | 29 // Allows third-party content included on a page to prompt for a HTTP basic |
| 30 // auth username/password pair. | 30 // auth username/password pair. |
| 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 // Allows non-https URL for background_page for hosted apps. | |
| 38 const char kAllowHTTPBackgroundPage[] = "allow-http-background-page"; | |
| 39 | |
| 40 // Allow non-secure origins to use the screen capture API. | 37 // Allow non-secure origins to use the screen capture API. |
| 41 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture"; | 38 const char kAllowHttpScreenCapture[] = "allow-http-screen-capture"; |
| 42 | 39 |
| 43 // Specifies comma-separated list of extension ids or hosts to grant | 40 // Specifies comma-separated list of extension ids or hosts to grant |
| 44 // access to CRX file system APIs. | 41 // access to CRX file system APIs. |
| 45 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; | 42 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; |
| 46 | 43 |
| 47 // Specifies comma-separated list of extension ids or hosts to grant | 44 // Specifies comma-separated list of extension ids or hosts to grant |
| 48 // access to file handle APIs. | 45 // access to file handle APIs. |
| 49 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; | 46 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; |
| (...skipping 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 | 1631 |
| 1635 // ----------------------------------------------------------------------------- | 1632 // ----------------------------------------------------------------------------- |
| 1636 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1633 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1637 // | 1634 // |
| 1638 // You were going to just dump your switches here, weren't you? Instead, please | 1635 // You were going to just dump your switches here, weren't you? Instead, please |
| 1639 // put them in alphabetical order above, or in order inside the appropriate | 1636 // put them in alphabetical order above, or in order inside the appropriate |
| 1640 // ifdef at the bottom. The order should match the header. | 1637 // ifdef at the bottom. The order should match the header. |
| 1641 // ----------------------------------------------------------------------------- | 1638 // ----------------------------------------------------------------------------- |
| 1642 | 1639 |
| 1643 } // namespace switches | 1640 } // namespace switches |
| OLD | NEW |