Enable about:labs on the stable channel as well. It's now enabled on all channels.
UI leads feel that about:labs should be just as accessible as commandline flags, which can be used in the stable channel too.
BUG=57630
TEST=None
Review URL: http://codereview.chromium.org/3521007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61267 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/labs.cc b/chrome/browser/labs.cc
index d37629e..89fd71f 100644
--- a/chrome/browser/labs.cc
+++ b/chrome/browser/labs.cc
@@ -12,7 +12,6 @@
#include "app/l10n_util.h"
#include "base/command_line.h"
#include "base/values.h"
-#include "chrome/browser/platform_util.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profile.h"
#include "chrome/common/chrome_switches.h"
@@ -198,17 +197,14 @@
#if defined(OS_CHROMEOS)
// ChromeOS uses a different mechanism for about:labs; integrated with their
// dom ui options.
+ // TODO(thakis): Port about:labs to chromeos -- http://crbug.com/57634
return false;
-#elif defined(GOOGLE_CHROME_BUILD)
- // Don't enable this on the stable channel.
- return !platform_util::GetVersionStringModifier().empty();
#else
return true;
#endif
}
void ConvertLabsToSwitches(Profile* profile, CommandLine* command_line) {
- // Do not activate labs features on the stable channel.
if (!IsEnabled())
return;