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

Unified Diff: chrome/common/chrome_switches.cc

Issue 961443002: Three way experiment for "Show saved copy" button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting fix Created 5 years, 10 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 82c9410cd4a3563db571824175ef32cda8117afd..158e3d48510b9353e2cb8ba1cd29ab33f0b9c841 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -473,11 +473,6 @@ const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
const char kEnableOfflineAutoReloadVisibleOnly[] =
"enable-offline-auto-reload-visible-only";
-// Enable/Disable offering a "Load stale copy" option to the user if offline.
-const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache";
-const char kDisableOfflineLoadStaleCache[] =
- "disable-offline-load-stale-cache";
-
// Enable the out of process PDF plugin.
const char kEnableOutOfProcessPdf[] = "enable-out-of-process-pdf";
@@ -1035,6 +1030,16 @@ const char kShowAppList[] = "show-app-list";
// See kHideIcons.
const char kShowIcons[] = "show-icons";
+// Command line flag offering a "Show saved copy" option to the user if offline.
+// The various modes are disabled, primary, or secondary. Primary/secondary
+// refers to button placement (for experiment).
+const char kShowSavedCopy[] = "show-saved-copy";
+
+// Values for the kShowSavedCopy flag.
+const char kEnableShowSavedCopyPrimary[] = "primary";
+const char kEnableShowSavedCopySecondary[] = "secondary";
+const char kDisableShowSavedCopy[] = "disable";
+
// Marks a renderer as the signin process.
const char kSigninProcess[] = "signin-process";

Powered by Google App Engine
This is Rietveld 408576698