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

Unified Diff: chrome/browser/about_flags.cc

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove --disable-stale-while-revalidate flag and strengthen must-revalidate. Created 6 years, 3 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/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 2a6e59a5bac0f793478baee9133ebbf28b5c4457..c87bfc16aea6d6926de3f0f16c0a0dd284d444a6 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1155,6 +1155,13 @@ const Experiment kExperiments[] = {
switches::kDisableTouchEditing)
},
{
+ "enable-stale-while-revalidate",
+ IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME,
+ IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION,
+ kOsAll,
+ SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)
+ },
+ {
"enable-suggestions-service",
IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME,
IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION,

Powered by Google App Engine
This is Rietveld 408576698