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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 const char kUnlimitedStorage[] = "unlimited-storage"; | 1042 const char kUnlimitedStorage[] = "unlimited-storage"; |
1043 | 1043 |
1044 // Treat given (insecure) origins as secure origins. Multiple origins can be | 1044 // Treat given (insecure) origins as secure origins. Multiple origins can be |
1045 // supplied. Has no effect unless --user-data-dir is also supplied. | 1045 // supplied. Has no effect unless --user-data-dir is also supplied. |
1046 // Example: | 1046 // Example: |
1047 // --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test | 1047 // --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test |
1048 // --user-data-dir=/test/only/profile/dir | 1048 // --user-data-dir=/test/only/profile/dir |
1049 const char kUnsafelyTreatInsecureOriginAsSecure[] = | 1049 const char kUnsafelyTreatInsecureOriginAsSecure[] = |
1050 "unsafely-treat-insecure-origin-as-secure"; | 1050 "unsafely-treat-insecure-origin-as-secure"; |
1051 | 1051 |
| 1052 // Pass the full https:// URL to PAC (Proxy Auto Config) scripts. As opposed to |
| 1053 // the default behavior which strips path and query components before passing |
| 1054 // to the PAC scripts. |
| 1055 const char kUnsafePacUrl[] = "unsafe-pac-url"; |
| 1056 |
1052 // A string used to override the default user agent with a custom one. | 1057 // A string used to override the default user agent with a custom one. |
1053 const char kUserAgent[] = "user-agent"; | 1058 const char kUserAgent[] = "user-agent"; |
1054 | 1059 |
1055 // Specifies the user data directory, which is where the browser will look for | 1060 // Specifies the user data directory, which is where the browser will look for |
1056 // all of its state. | 1061 // all of its state. |
1057 const char kUserDataDir[] = "user-data-dir"; | 1062 const char kUserDataDir[] = "user-data-dir"; |
1058 | 1063 |
1059 // Examines a .crx for validity and prints the result. | 1064 // Examines a .crx for validity and prints the result. |
1060 const char kValidateCrx[] = "validate-crx"; | 1065 const char kValidateCrx[] = "validate-crx"; |
1061 | 1066 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1359 | 1364 |
1360 // ----------------------------------------------------------------------------- | 1365 // ----------------------------------------------------------------------------- |
1361 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1362 // | 1367 // |
1363 // You were going to just dump your switches here, weren't you? Instead, please | 1368 // You were going to just dump your switches here, weren't you? Instead, please |
1364 // put them in alphabetical order above, or in order inside the appropriate | 1369 // put them in alphabetical order above, or in order inside the appropriate |
1365 // ifdef at the bottom. The order should match the header. | 1370 // ifdef at the bottom. The order should match the header. |
1366 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
1367 | 1372 |
1368 } // namespace switches | 1373 } // namespace switches |
OLD | NEW |