Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 19733003: Implement cloud policy invalidations using the invalidation service framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // version cannot be loaded, Chrome will exit. 157 // version cannot be loaded, Chrome will exit.
158 const char kChromeVersion[] = "chrome-version"; 158 const char kChromeVersion[] = "chrome-version";
159 159
160 // Comma-separated list of SSL cipher suites to disable. 160 // Comma-separated list of SSL cipher suites to disable.
161 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist"; 161 const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist";
162 162
163 // Clears the token service before using it. This allows simulating the 163 // Clears the token service before using it. This allows simulating the
164 // expiration of credentials during testing. 164 // expiration of credentials during testing.
165 const char kClearTokenService[] = "clear-token-service"; 165 const char kClearTokenService[] = "clear-token-service";
166 166
167 // The maximum amount of delay in ms between receiving a cloud policy
168 // invalidation and fetching the policy. A random delay up to this value is used
169 // to prevent Chrome clients from overwhelming the cloud policy server when a
170 // policy which affects many users is changed.
171 const char kCloudPolicyInvalidationDelay[] = "cloud-policy-invalidation-delay";
172
167 // Used with kCloudPrintFile. Tells Chrome to delete the file when finished 173 // Used with kCloudPrintFile. Tells Chrome to delete the file when finished
168 // displaying the print dialog. 174 // displaying the print dialog.
169 const char kCloudPrintDeleteFile[] = "cloud-print-delete-file"; 175 const char kCloudPrintDeleteFile[] = "cloud-print-delete-file";
170 176
171 // Tells chrome to display the cloud print dialog and upload the specified file 177 // Tells chrome to display the cloud print dialog and upload the specified file
172 // for printing. 178 // for printing.
173 const char kCloudPrintFile[] = "cloud-print-file"; 179 const char kCloudPrintFile[] = "cloud-print-file";
174 180
175 // Specifies the mime type to be used when uploading data from the file 181 // Specifies the mime type to be used when uploading data from the file
176 // referenced by cloud-print-file. Defaults to "application/pdf" if 182 // referenced by cloud-print-file. Defaults to "application/pdf" if
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a 520 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a
515 // GAIA login page, an info bar can help the user login. 521 // GAIA login page, an info bar can help the user login.
516 const char kEnableAutologin[] = "enable-autologin"; 522 const char kEnableAutologin[] = "enable-autologin";
517 523
518 // Enables the benchmarking extensions. 524 // Enables the benchmarking extensions.
519 const char kEnableBenchmarking[] = "enable-benchmarking"; 525 const char kEnableBenchmarking[] = "enable-benchmarking";
520 526
521 // Enables a sync promo that is displayed in the bookmark bubble. 527 // Enables a sync promo that is displayed in the bookmark bubble.
522 const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo"; 528 const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo";
523 529
530 // Enables pushing cloud policy to Chrome using an invalidation service.
531 const char kEnableCloudPolicyPush[] = "enable-cloud-policy-push";
532
524 // This applies only when the process type is "service". Enables the Cloud 533 // This applies only when the process type is "service". Enables the Cloud
525 // Print Proxy component within the service process. 534 // Print Proxy component within the service process.
526 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 535 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
527 536
528 // Enables fetching and storing cloud policy for components. This currently 537 // Enables fetching and storing cloud policy for components. This currently
529 // supports policy for extensions on Chrome OS. 538 // supports policy for extensions on Chrome OS.
530 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; 539 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy";
531 540
532 // Enables fetching the user's contacts from Google and showing them in the 541 // Enables fetching the user's contacts from Google and showing them in the
533 // Chrome OS apps list. 542 // Chrome OS apps list.
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1585 1594
1586 // ----------------------------------------------------------------------------- 1595 // -----------------------------------------------------------------------------
1587 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1596 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1588 // 1597 //
1589 // You were going to just dump your switches here, weren't you? Instead, please 1598 // You were going to just dump your switches here, weren't you? Instead, please
1590 // put them in alphabetical order above, or in order inside the appropriate 1599 // put them in alphabetical order above, or in order inside the appropriate
1591 // ifdef at the bottom. The order should match the header. 1600 // ifdef at the bottom. The order should match the header.
1592 // ----------------------------------------------------------------------------- 1601 // -----------------------------------------------------------------------------
1593 1602
1594 } // namespace switches 1603 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698