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

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: histograms 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/localized_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index b992b2242177f9ef0df5d40a56f2fe9bf1a33994..30caba022081672bc010ee8342b72ebfee150add 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";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/localized_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698