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

Unified Diff: chrome/browser/chrome_browser_field_trials.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_field_trials.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.h
diff --git a/chrome/browser/chrome_browser_field_trials.h b/chrome/browser/chrome_browser_field_trials.h
index 515b5149b03bff4b0d13a437cef6a29e46145db5..2ae3d0e73428e76f20ebb624f2f53724d5b1517c 100644
--- a/chrome/browser/chrome_browser_field_trials.h
+++ b/chrome/browser/chrome_browser_field_trials.h
@@ -10,14 +10,19 @@
class PrefService;
+namespace base {
+class Time;
+}
+
class ChromeBrowserFieldTrials {
public:
explicit ChromeBrowserFieldTrials(const base::CommandLine& command_line);
~ChromeBrowserFieldTrials();
// Called by the browser main sequence to set up Field Trials for this client.
- // |local_state| is used to extract properties like install time.
- void SetupFieldTrials(PrefService* local_state);
+ // |local_state| is used to set browser-wide properties.
+ void SetupFieldTrials(const base::Time& install_time,
+ PrefService* local_state);
private:
// Instantiates dynamic trials by querying their state, to ensure they get
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698