| 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 // Setting this switch also causes Sync to be set up for a supervised user. | 1042 // Setting this switch also causes Sync to be set up for a supervised user. |
| 1043 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; | 1043 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; |
| 1044 | 1044 |
| 1045 // Frequency in Milliseconds for system log uploads. Should only be used for | 1045 // Frequency in Milliseconds for system log uploads. Should only be used for |
| 1046 // testing purposes. | 1046 // testing purposes. |
| 1047 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency"; | 1047 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency"; |
| 1048 | 1048 |
| 1049 // Passes the name of the current running automated test to Chrome. | 1049 // Passes the name of the current running automated test to Chrome. |
| 1050 const char kTestName[] = "test-name"; | 1050 const char kTestName[] = "test-name"; |
| 1051 | 1051 |
| 1052 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. | |
| 1053 // The value is the host:port of the trusted proxy. | |
| 1054 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; | |
| 1055 | |
| 1056 // Experimental. Shows a dialog asking the user to try chrome. This flag is to | 1052 // Experimental. Shows a dialog asking the user to try chrome. This flag is to |
| 1057 // be used only by the upgrade process. | 1053 // be used only by the upgrade process. |
| 1058 const char kTryChromeAgain[] = "try-chrome-again"; | 1054 const char kTryChromeAgain[] = "try-chrome-again"; |
| 1059 | 1055 |
| 1060 // Overrides per-origin quota settings to unlimited storage for any | 1056 // Overrides per-origin quota settings to unlimited storage for any |
| 1061 // apps/origins. This should be used only for testing purpose. | 1057 // apps/origins. This should be used only for testing purpose. |
| 1062 const char kUnlimitedStorage[] = "unlimited-storage"; | 1058 const char kUnlimitedStorage[] = "unlimited-storage"; |
| 1063 | 1059 |
| 1064 // Treat given (insecure) origins as secure origins. Multiple origins can be | 1060 // Treat given (insecure) origins as secure origins. Multiple origins can be |
| 1065 // supplied. Has no effect unless --user-data-dir is also supplied. | 1061 // supplied. Has no effect unless --user-data-dir is also supplied. |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 | 1392 |
| 1397 // ----------------------------------------------------------------------------- | 1393 // ----------------------------------------------------------------------------- |
| 1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1394 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1399 // | 1395 // |
| 1400 // You were going to just dump your switches here, weren't you? Instead, please | 1396 // You were going to just dump your switches here, weren't you? Instead, please |
| 1401 // put them in alphabetical order above, or in order inside the appropriate | 1397 // put them in alphabetical order above, or in order inside the appropriate |
| 1402 // ifdef at the bottom. The order should match the header. | 1398 // ifdef at the bottom. The order should match the header. |
| 1403 // ----------------------------------------------------------------------------- | 1399 // ----------------------------------------------------------------------------- |
| 1404 | 1400 |
| 1405 } // namespace switches | 1401 } // namespace switches |
| OLD | NEW |