Chromium Code Reviews| Index: chrome/browser/chrome_browser_field_trials_desktop.h |
| diff --git a/chrome/browser/chrome_browser_field_trials_desktop.h b/chrome/browser/chrome_browser_field_trials_desktop.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1e3586bec25e20d246ad25db6900f23cdcd66c8a |
| --- /dev/null |
| +++ b/chrome/browser/chrome_browser_field_trials_desktop.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ |
| +#define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "base/time.h" |
| + |
| +class CommandLine; |
| +class PrefService; |
| + |
| +namespace chrome { |
| + |
| +// Sets up common desktop-only field trials. |
| +// Add an invocation of your field trial init function to this method, or to |
| +// SetupFieldTrials if it is for all platforms. |
|
SteveT
2013/04/19 14:33:49
Is it worth mentioning that SetupFieldTrials is fr
rohitrao (ping after 24h)
2013/04/19 14:42:58
Done.
|
| +// |local_state| is needed by some other methods called from within this one. |
| +void SetupDesktopFieldTrials(const CommandLine& parsed_command_line, |
| + const base::Time& install_time, |
| + PrefService* local_state); |
| + |
| +} // end namespace chrome |
|
SteveT
2013/04/19 14:33:49
Some comment here about "end". I don't think we us
rohitrao (ping after 24h)
2013/04/19 14:42:58
Done.
|
| + |
| +#endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_ |