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 #include "chrome/browser/chrome_browser_field_trials_desktop.h" | 5 #include "chrome/browser/chrome_browser_field_trials_desktop.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/debug/activity_tracker.h" | 11 #include "base/debug/activity_tracker.h" |
12 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
15 #include "base/metrics/histogram_macros.h" | 15 #include "base/metrics/histogram_macros.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "chrome/browser/prerender/prerender_field_trial.h" | 17 #include "chrome/browser/prerender/prerender_field_trial.h" |
18 #include "chrome/common/chrome_paths.h" | 18 #include "chrome/common/chrome_paths.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/common/variations/variations_util.h" | |
21 #include "components/browser_watcher/features.h" | 20 #include "components/browser_watcher/features.h" |
22 #include "components/variations/variations_associated_data.h" | 21 #include "components/variations/variations_associated_data.h" |
23 #include "content/public/common/content_switches.h" | 22 #include "content/public/common/content_switches.h" |
24 | 23 |
25 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
26 #include "components/browser_watcher/stability_debugging_win.h" | 25 #include "components/browser_watcher/stability_debugging_win.h" |
27 #endif | 26 #endif |
28 | 27 |
29 namespace chrome { | 28 namespace chrome { |
30 | 29 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 107 |
109 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) { | 108 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) { |
110 prerender::ConfigurePrerender(parsed_command_line); | 109 prerender::ConfigurePrerender(parsed_command_line); |
111 SetupStunProbeTrial(); | 110 SetupStunProbeTrial(); |
112 #if defined(OS_WIN) | 111 #if defined(OS_WIN) |
113 SetupStabilityDebugging(); | 112 SetupStabilityDebugging(); |
114 #endif // defined(OS_WIN) | 113 #endif // defined(OS_WIN) |
115 } | 114 } |
116 | 115 |
117 } // namespace chrome | 116 } // namespace chrome |
OLD | NEW |