Disable accessible touch exploration by default.
[chromium-blink-merge.git] / chrome / browser / chrome_browser_field_trials.h
blob2ae3d0e73428e76f20ebb624f2f53724d5b1517c
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_
8 #include "base/basictypes.h"
9 #include "base/command_line.h"
11 class PrefService;
13 namespace base {
14 class Time;
17 class ChromeBrowserFieldTrials {
18 public:
19 explicit ChromeBrowserFieldTrials(const base::CommandLine& command_line);
20 ~ChromeBrowserFieldTrials();
22 // Called by the browser main sequence to set up Field Trials for this client.
23 // |local_state| is used to set browser-wide properties.
24 void SetupFieldTrials(const base::Time& install_time,
25 PrefService* local_state);
27 private:
28 // Instantiates dynamic trials by querying their state, to ensure they get
29 // reported as used.
30 void InstantiateDynamicTrials();
32 const base::CommandLine& parsed_command_line_;
34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials);
37 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_