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

Unified Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 1432033003: Delete the auto-launch trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +line break Created 5 years, 1 month 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/browser/auto_launch_trial.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_field_trials_desktop.cc
diff --git a/chrome/browser/chrome_browser_field_trials_desktop.cc b/chrome/browser/chrome_browser_field_trials_desktop.cc
index 4e6ac084aab632e7b0130ce43bf34c3b3c3b55a9..d5761d4764d8bf1206947e1b248cf2f323ce71d4 100644
--- a/chrome/browser/chrome_browser_field_trials_desktop.cc
+++ b/chrome/browser/chrome_browser_field_trials_desktop.cc
@@ -8,8 +8,6 @@
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
-#include "chrome/browser/auto_launch_trial.h"
-#include "chrome/browser/google/google_brand.h"
#include "chrome/browser/prerender/prerender_field_trial.h"
#include "chrome/browser/tracing/background_tracing_field_trial.h"
#include "chrome/common/chrome_switches.h"
@@ -21,20 +19,6 @@ namespace chrome {
namespace {
-void AutoLaunchChromeFieldTrial() {
- std::string brand;
- google_brand::GetBrand(&brand);
-
- // Create a 100% field trial based on the brand code.
- if (auto_launch_trial::IsInExperimentGroup(brand)) {
- base::FieldTrialList::CreateFieldTrial(kAutoLaunchTrialName,
- kAutoLaunchTrialAutoLaunchGroup);
- } else if (auto_launch_trial::IsInControlGroup(brand)) {
- base::FieldTrialList::CreateFieldTrial(kAutoLaunchTrialName,
- kAutoLaunchTrialControlGroup);
- }
-}
-
void SetupLightSpeedTrials() {
if (!variations::GetVariationParamValue("LightSpeed", "NoGpu").empty()) {
base::CommandLine::ForCurrentProcess()->AppendSwitch(
@@ -67,7 +51,6 @@ void SetupStunProbeTrial() {
void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) {
prerender::ConfigurePrerender(parsed_command_line);
- AutoLaunchChromeFieldTrial();
SetupLightSpeedTrials();
tracing::SetupBackgroundTracingFieldTrial();
SetupStunProbeTrial();
« no previous file with comments | « chrome/browser/auto_launch_trial.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698