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