| 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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 // be used only by the upgrade process. | 1094 // be used only by the upgrade process. |
| 1095 const char kTryChromeAgain[] = "try-chrome-again"; | 1095 const char kTryChromeAgain[] = "try-chrome-again"; |
| 1096 | 1096 |
| 1097 // Overrides per-origin quota settings to unlimited storage for any | 1097 // Overrides per-origin quota settings to unlimited storage for any |
| 1098 // apps/origins. This should be used only for testing purpose. | 1098 // apps/origins. This should be used only for testing purpose. |
| 1099 const char kUnlimitedStorage[] = "unlimited-storage"; | 1099 const char kUnlimitedStorage[] = "unlimited-storage"; |
| 1100 | 1100 |
| 1101 // Treat given (insecure) origins as secure origins. Multiple origins can be | 1101 // Treat given (insecure) origins as secure origins. Multiple origins can be |
| 1102 // supplied. Has no effect unless --user-data-dir is also supplied. | 1102 // supplied. Has no effect unless --user-data-dir is also supplied. |
| 1103 // Example: | 1103 // Example: |
| 1104 // --unsafety-treat-insecure-origin-as-secure=http://a.test,http://b.test | 1104 // --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test |
| 1105 // --user-data-dir=/test/only/profile/dir | 1105 // --user-data-dir=/test/only/profile/dir |
| 1106 const char kUnsafetyTreatInsecureOriginAsSecure[] = | 1106 const char kUnsafelyTreatInsecureOriginAsSecure[] = |
| 1107 "unsafety-treat-insecure-origin-as-secure"; | 1107 "unsafely-treat-insecure-origin-as-secure"; |
| 1108 | 1108 |
| 1109 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary | 1109 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary |
| 1110 // testing flag. | 1110 // testing flag. |
| 1111 const char kUseSpdy[] = "use-spdy"; | 1111 const char kUseSpdy[] = "use-spdy"; |
| 1112 | 1112 |
| 1113 // A string used to override the default user agent with a custom one. | 1113 // A string used to override the default user agent with a custom one. |
| 1114 const char kUserAgent[] = "user-agent"; | 1114 const char kUserAgent[] = "user-agent"; |
| 1115 | 1115 |
| 1116 // Specifies the user data directory, which is where the browser will look for | 1116 // Specifies the user data directory, which is where the browser will look for |
| 1117 // all of its state. | 1117 // all of its state. |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1364 | 1364 |
| 1365 // ----------------------------------------------------------------------------- | 1365 // ----------------------------------------------------------------------------- |
| 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1367 // | 1367 // |
| 1368 // 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 |
| 1369 // 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 |
| 1370 // ifdef at the bottom. The order should match the header. | 1370 // ifdef at the bottom. The order should match the header. |
| 1371 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
| 1372 | 1372 |
| 1373 } // namespace switches | 1373 } // namespace switches |
| OLD | NEW |