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 <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "chrome/browser/auto_launch_trial.h" | 12 #include "chrome/browser/auto_launch_trial.h" |
13 #include "chrome/browser/google/google_brand.h" | 13 #include "chrome/browser/google/google_brand.h" |
14 #include "chrome/browser/prerender/prerender_field_trial.h" | 14 #include "chrome/browser/prerender/prerender_field_trial.h" |
15 #include "chrome/browser/profiles/profiles_state.h" | 15 #include "chrome/browser/profiles/profiles_state.h" |
16 #include "chrome/browser/safe_browsing/safe_browsing_blocking_page.h" | 16 #include "chrome/browser/safe_browsing/safe_browsing_blocking_page.h" |
17 #include "chrome/browser/ui/sync/one_click_signin_helper.h" | |
18 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
19 #include "chrome/common/chrome_version_info.h" | 18 #include "chrome/common/chrome_version_info.h" |
20 #include "chrome/common/variations/variations_util.h" | 19 #include "chrome/common/variations/variations_util.h" |
21 #include "components/variations/variations_associated_data.h" | 20 #include "components/variations/variations_associated_data.h" |
22 #include "content/public/common/content_constants.h" | 21 #include "content/public/common/content_constants.h" |
23 #include "net/spdy/spdy_session.h" | 22 #include "net/spdy/spdy_session.h" |
24 #include "ui/base/layout.h" | 23 #include "ui/base/layout.h" |
25 | 24 |
26 namespace chrome { | 25 namespace chrome { |
27 | 26 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 72 |
74 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) { | 73 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) { |
75 prerender::ConfigurePrerender(parsed_command_line); | 74 prerender::ConfigurePrerender(parsed_command_line); |
76 AutoLaunchChromeFieldTrial(); | 75 AutoLaunchChromeFieldTrial(); |
77 SetupInfiniteCacheFieldTrial(); | 76 SetupInfiniteCacheFieldTrial(); |
78 DisableShowProfileSwitcherTrialIfNecessary(); | 77 DisableShowProfileSwitcherTrialIfNecessary(); |
79 SetupLightSpeedTrials(); | 78 SetupLightSpeedTrials(); |
80 } | 79 } |
81 | 80 |
82 } // namespace chrome | 81 } // namespace chrome |
OLD | NEW |