blob: 16358cd20ff2d07f2bbe5d50c0617f45d14e337c [file] [log] [blame]
[email protected]aa61db02013-04-23 00:23:491// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_
6#define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_
7
8#include "base/basictypes.h"
9#include "base/time.h"
10
11class CommandLine;
12class PrefService;
13
14namespace chrome {
15
16// Sets up common desktop-only field trials.
17// Add an invocation of your field trial init function to this method, or to
18// SetupFieldTrials in chrome_browser_field_trials.cc if it is for all
19// platforms.
20// |local_state| is needed by some other methods called from within this one.
21void SetupDesktopFieldTrials(const CommandLine& parsed_command_line,
22 const base::Time& install_time,
23 PrefService* local_state);
24
25} // namespace chrome
26
27#endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_DESKTOP_H_