Add about flag for offline page experiment
BUG=491352
Review URL: https://codereview.chromium.org/1260403004
Cr-Commit-Position: refs/heads/master@{#341967}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 5bc0edd..967ab839 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -31,6 +31,7 @@
#include "components/enhanced_bookmarks/enhanced_bookmark_switches.h"
#include "components/metrics/metrics_hashes.h"
#include "components/nacl/common/nacl_switches.h"
+#include "components/offline_pages/offline_page_switches.h"
#include "components/omnibox/browser/omnibox_switches.h"
#include "components/plugins/common/plugins_switches.h"
#include "components/proximity_auth/switches.h"
@@ -2099,6 +2100,14 @@
kOsAndroid,
MULTI_VALUE_TYPE(kProgressBarAnimationChoices)},
#endif // defined(OS_ANDROID)
+#if defined(OS_ANDROID)
+ {"offline-pages",
+ IDS_FLAGS_OFFLINE_PAGES_NAME,
+ IDS_FLAGS_OFFLINE_PAGES_DESCRIPTION,
+ kOsAndroid,
+ ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflinePages,
+ switches::kDisableOfflinePages)},
+#endif // defined(OS_ANDROID)
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in