Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 2465953002: Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_util (Closed)
Patch Set: Moved to components/variations/field_trial_util and chrome switches Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698