OLD | NEW |
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 #ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 | 10 |
11 class PrefService; | 11 class PrefService; |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class CommandLine; | 14 class CommandLine; |
15 } | 15 } |
16 | 16 |
17 namespace chrome { | 17 namespace chrome { |
18 | 18 |
19 // Sets up common desktop-only field trials. | 19 // Sets up common desktop-only field trials. |
20 // Add an invocation of your field trial init function to this method, or to | 20 // Add an invocation of your field trial init function to this method, or to |
21 // SetupFieldTrials in chrome_browser_field_trials.cc if it is for all | 21 // SetupFieldTrials in chrome_browser_field_trials.cc if it is for all |
22 // platforms. | 22 // platforms. |
23 // |local_state| is needed by some other methods called from within this one. | 23 // |local_state| is needed by some other methods called from within this one. |
24 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line, | 24 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line, |
25 const base::Time& install_time, | |
26 PrefService* local_state); | 25 PrefService* local_state); |
27 | 26 |
28 } // namespace chrome | 27 } // namespace chrome |
29 | 28 |
30 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ | 29 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ |
OLD | NEW |