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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 5694f1bc90dc717d07edf5e889bd1e3e1e95c7f7..3bca218ab35d67dbd8f57dbeccd158e0543c6d80 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -164,6 +164,12 @@ const char kCipherSuiteBlacklist[] = "cipher-suite-blacklist";
// expiration of credentials during testing.
const char kClearTokenService[] = "clear-token-service";
+// The maximum amount of delay in ms between receiving a cloud policy
+// invalidation and fetching the policy. A random delay up to this value is used
+// to prevent Chrome clients from overwhelming the cloud policy server when a
+// policy which affects many users is changed.
+const char kCloudPolicyInvalidationDelay[] = "cloud-policy-invalidation-delay";
+
// Used with kCloudPrintFile. Tells Chrome to delete the file when finished
// displaying the print dialog.
const char kCloudPrintDeleteFile[] = "cloud-print-delete-file";
@@ -521,6 +527,9 @@ const char kEnableBenchmarking[] = "enable-benchmarking";
// Enables a sync promo that is displayed in the bookmark bubble.
const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo";
+// Enables pushing cloud policy to Chrome using an invalidation service.
+const char kEnableCloudPolicyPush[] = "enable-cloud-policy-push";
+
// This applies only when the process type is "service". Enables the Cloud
// Print Proxy component within the service process.
const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";

Powered by Google App Engine
This is Rietveld 408576698