Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / chrome_browser_field_trials.h
blobd01391837aec8f00026536498deb000f96753217
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 namespace base {
12 class Time;
15 class ChromeBrowserFieldTrials {
16 public:
17 explicit ChromeBrowserFieldTrials(const base::CommandLine& command_line);
18 ~ChromeBrowserFieldTrials();
20 void SetupFieldTrials();
22 private:
23 // Instantiates dynamic trials by querying their state, to ensure they get
24 // reported as used.
25 void InstantiateDynamicTrials();
27 const base::CommandLine& parsed_command_line_;
29 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserFieldTrials);
32 #endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_H_