[Android] Add the new NTP enabled switch.
Adding about:flags toggle to enable the new NTP in Chrome for Android.
BUG=260328
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19239003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211741 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 119f32ea..f208b14 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -642,6 +642,15 @@
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLocalFirstLoadNTP,
switches::kDisableLocalFirstLoadNTP)
},
+#if defined(OS_ANDROID)
+ {
+ "enable-new-ntp",
+ IDS_FLAGS_ENABLE_NEW_NTP,
+ IDS_FLAGS_ENABLE_NEW_NTP_DESCRIPTION,
+ kOsAndroid,
+ SINGLE_VALUE_TYPE(switches::kEnableNewNTP)
+ },
+#endif
{
"static-ip-config",
IDS_FLAGS_STATIC_IP_CONFIG_NAME,