Removed data reduction experiment in about:flags for stable Channel

This change must be reverted to make the data reduction
feature available on stable.

BUG=222514


Review URL: https://chromiumcodereview.appspot.com/12634031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190104 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6c32bb8..98242b7 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4,6 +4,8 @@
 
 #include "chrome/browser/about_flags.h"
 
+#include <string.h>
+
 #include <algorithm>
 #include <iterator>
 #include <map>
@@ -21,6 +23,7 @@
 #include "chrome/browser/prefs/scoped_user_pref_update.h"
 #include "chrome/common/chrome_content_client.h"
 #include "chrome/common/chrome_switches.h"
+#include "chrome/common/chrome_version_info.h"
 #include "chrome/common/pref_names.h"
 #include "content/public/browser/user_metrics.h"
 #include "grit/chromium_strings.h"
@@ -1491,6 +1494,15 @@
   for (size_t i = 0; i < num_experiments; ++i) {
     const Experiment& experiment = experiments[i];
 
+#if defined(OS_ANDROID)
+    // Special case enable-spdy-proxy-auth, because it should only
+    // be available on Dev and Beta channels.
+    if (!strcmp("enable-spdy-proxy-auth", experiment.internal_name) &&
+        chrome::VersionInfo::GetChannel() ==
+            chrome::VersionInfo::CHANNEL_STABLE)
+      continue;
+#endif
+
     DictionaryValue* data = new DictionaryValue();
     data->SetString("internal_name", experiment.internal_name);
     data->SetString("name",