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

Side by Side Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 396753005: Keep all references to kInstallDate inside components/metrics/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_browser_field_trials_desktop.h" 5 #include "chrome/browser/chrome_browser_field_trials_desktop.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/environment.h" 10 #include "base/environment.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 trial->AppendGroup("5-pct", group == "5-pct" ? 100 : 0); 111 trial->AppendGroup("5-pct", group == "5-pct" ? 100 : 0);
112 trial->AppendGroup("0-pct", group == "0-pct" ? 100 : 0); 112 trial->AppendGroup("0-pct", group == "0-pct" ? 100 : 0);
113 113
114 // We have to call group in order to mark the experiment as active. 114 // We have to call group in order to mark the experiment as active.
115 trial->group(); 115 trial->group();
116 } 116 }
117 117
118 } // namespace 118 } // namespace
119 119
120 void SetupDesktopFieldTrials(const CommandLine& parsed_command_line, 120 void SetupDesktopFieldTrials(const CommandLine& parsed_command_line,
121 const base::Time& install_time,
122 PrefService* local_state) { 121 PrefService* local_state) {
123 prerender::ConfigurePrerender(parsed_command_line); 122 prerender::ConfigurePrerender(parsed_command_line);
124 AutoLaunchChromeFieldTrial(); 123 AutoLaunchChromeFieldTrial();
125 OmniboxFieldTrial::ActivateStaticTrials(); 124 OmniboxFieldTrial::ActivateStaticTrials();
126 SetupInfiniteCacheFieldTrial(); 125 SetupInfiniteCacheFieldTrial();
127 DisableShowProfileSwitcherTrialIfNecessary(); 126 DisableShowProfileSwitcherTrialIfNecessary();
128 SetupShowAppLauncherPromoFieldTrial(local_state); 127 SetupShowAppLauncherPromoFieldTrial(local_state);
129 SetupPreReadFieldTrial(); 128 SetupPreReadFieldTrial();
130 } 129 }
131 130
132 } // namespace chrome 131 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_field_trials_desktop.h ('k') | chrome/browser/chrome_browser_field_trials_mobile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698