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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1156 // be used only by the upgrade process. | 1156 // be used only by the upgrade process. |
1157 const char kTryChromeAgain[] = "try-chrome-again"; | 1157 const char kTryChromeAgain[] = "try-chrome-again"; |
1158 | 1158 |
1159 // Runs un-installation steps that were done by chrome first-run. | 1159 // Runs un-installation steps that were done by chrome first-run. |
1160 const char kUninstall[] = "uninstall"; | 1160 const char kUninstall[] = "uninstall"; |
1161 | 1161 |
1162 // Overrides per-origin quota settings to unlimited storage for any | 1162 // Overrides per-origin quota settings to unlimited storage for any |
1163 // apps/origins. This should be used only for testing purpose. | 1163 // apps/origins. This should be used only for testing purpose. |
1164 const char kUnlimitedStorage[] = "unlimited-storage"; | 1164 const char kUnlimitedStorage[] = "unlimited-storage"; |
1165 | 1165 |
| 1166 // Treat given (insecure) origins as secure origins. Multiple origins can be |
| 1167 // supplied. Has no effect unless --user-data-dir is also supplied. |
| 1168 // Example: |
| 1169 // --unsafety-treat-insecure-origin-as-secure=http://a.test,http://b.test |
| 1170 // --user-data-dir=/test/only/profile/dir |
| 1171 const char kUnsafetyTreatInsecureOriginAsSecure[] = |
| 1172 "unsafety-treat-insecure-origin-as-secure"; |
| 1173 |
1166 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary | 1174 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary |
1167 // testing flag. | 1175 // testing flag. |
1168 const char kUseSpdy[] = "use-spdy"; | 1176 const char kUseSpdy[] = "use-spdy"; |
1169 | 1177 |
1170 // A string used to override the default user agent with a custom one. | 1178 // A string used to override the default user agent with a custom one. |
1171 const char kUserAgent[] = "user-agent"; | 1179 const char kUserAgent[] = "user-agent"; |
1172 | 1180 |
1173 // Specifies the user data directory, which is where the browser will look for | 1181 // Specifies the user data directory, which is where the browser will look for |
1174 // all of its state. | 1182 // all of its state. |
1175 const char kUserDataDir[] = "user-data-dir"; | 1183 const char kUserDataDir[] = "user-data-dir"; |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 | 1406 |
1399 // ----------------------------------------------------------------------------- | 1407 // ----------------------------------------------------------------------------- |
1400 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1408 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1401 // | 1409 // |
1402 // You were going to just dump your switches here, weren't you? Instead, please | 1410 // You were going to just dump your switches here, weren't you? Instead, please |
1403 // put them in alphabetical order above, or in order inside the appropriate | 1411 // put them in alphabetical order above, or in order inside the appropriate |
1404 // ifdef at the bottom. The order should match the header. | 1412 // ifdef at the bottom. The order should match the header. |
1405 // ----------------------------------------------------------------------------- | 1413 // ----------------------------------------------------------------------------- |
1406 | 1414 |
1407 } // namespace switches | 1415 } // namespace switches |
OLD | NEW |