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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // version cannot be loaded, Chrome will exit. | 160 // version cannot be loaded, Chrome will exit. |
161 const char kChromeVersion[] = "chrome-version"; | 161 const char kChromeVersion[] = "chrome-version"; |
162 | 162 |
163 // Comma-separated list of SSL cipher suites to disable. | 163 // Comma-separated list of SSL cipher suites to disable. |
164 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; | 164 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; |
165 | 165 |
166 // Clears the token service before using it. This allows simulating the | 166 // Clears the token service before using it. This allows simulating the |
167 // expiration of credentials during testing. | 167 // expiration of credentials during testing. |
168 const char kClearTokenService[] = "clear-token-service"; | 168 const char kClearTokenService[] = "clear-token-service"; |
169 | 169 |
| 170 // The maximum amount of delay in ms between receiving a cloud policy |
| 171 // invalidation and fetching the policy. A random delay up to this value is used |
| 172 // to prevent Chrome clients from overwhelming the cloud policy server when a |
| 173 // policy which affects many users is changed. |
| 174 const char kCloudPolicyInvalidationDelay[] = "cloud-policy-invalidation-delay"; |
| 175 |
170 // Used with kCloudPrintFile. Tells Chrome to delete the file when finished | 176 // Used with kCloudPrintFile. Tells Chrome to delete the file when finished |
171 // displaying the print dialog. | 177 // displaying the print dialog. |
172 const char kCloudPrintDeleteFile[] = "cloud-print-delete-file"; | 178 const char kCloudPrintDeleteFile[] = "cloud-print-delete-file"; |
173 | 179 |
174 // Tells chrome to display the cloud print dialog and upload the specified file | 180 // Tells chrome to display the cloud print dialog and upload the specified file |
175 // for printing. | 181 // for printing. |
176 const char kCloudPrintFile[] = "cloud-print-file"; | 182 const char kCloudPrintFile[] = "cloud-print-file"; |
177 | 183 |
178 // Specifies the mime type to be used when uploading data from the file | 184 // Specifies the mime type to be used when uploading data from the file |
179 // referenced by cloud-print-file. Defaults to "application/pdf" if | 185 // referenced by cloud-print-file. Defaults to "application/pdf" if |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 512 |
507 // Enables the benchmarking extensions. | 513 // Enables the benchmarking extensions. |
508 const char kEnableBenchmarking[] = "enable-benchmarking"; | 514 const char kEnableBenchmarking[] = "enable-benchmarking"; |
509 | 515 |
510 // Enables (experimental) more strict popup blocking. | 516 // Enables (experimental) more strict popup blocking. |
511 const char kEnableBetterPopupBlocking[] = "enable-better-popup-blocking"; | 517 const char kEnableBetterPopupBlocking[] = "enable-better-popup-blocking"; |
512 | 518 |
513 // Enables a sync promo that is displayed in the bookmark bubble. | 519 // Enables a sync promo that is displayed in the bookmark bubble. |
514 const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo"; | 520 const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo"; |
515 | 521 |
| 522 // Enables pushing cloud policy to Chrome using an invalidation service. |
| 523 const char kEnableCloudPolicyPush[] = "enable-cloud-policy-push"; |
| 524 |
516 // This applies only when the process type is "service". Enables the Cloud | 525 // This applies only when the process type is "service". Enables the Cloud |
517 // Print Proxy component within the service process. | 526 // Print Proxy component within the service process. |
518 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 527 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
519 | 528 |
520 // Enables fetching and storing cloud policy for components. This currently | 529 // Enables fetching and storing cloud policy for components. This currently |
521 // supports policy for extensions on Chrome OS. | 530 // supports policy for extensions on Chrome OS. |
522 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; | 531 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; |
523 | 532 |
524 // Enables fetching the user's contacts from Google and showing them in the | 533 // Enables fetching the user's contacts from Google and showing them in the |
525 // Chrome OS apps list. | 534 // Chrome OS apps list. |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1564 | 1573 |
1565 // ----------------------------------------------------------------------------- | 1574 // ----------------------------------------------------------------------------- |
1566 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1575 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1567 // | 1576 // |
1568 // You were going to just dump your switches here, weren't you? Instead, please | 1577 // You were going to just dump your switches here, weren't you? Instead, please |
1569 // put them in alphabetical order above, or in order inside the appropriate | 1578 // put them in alphabetical order above, or in order inside the appropriate |
1570 // ifdef at the bottom. The order should match the header. | 1579 // ifdef at the bottom. The order should match the header. |
1571 // ----------------------------------------------------------------------------- | 1580 // ----------------------------------------------------------------------------- |
1572 | 1581 |
1573 } // namespace switches | 1582 } // namespace switches |
OLD | NEW |