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/environment.h" | 10 #include "base/environment.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/common/chrome_constants.h" | 21 #include "chrome/common/chrome_constants.h" |
22 #include "chrome/common/chrome_switches.h" | 22 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/common/chrome_version_info.h" | 23 #include "chrome/common/chrome_version_info.h" |
24 #include "chrome/common/pref_names.h" | 24 #include "chrome/common/pref_names.h" |
25 #include "chrome/common/variations/variations_util.h" | 25 #include "chrome/common/variations/variations_util.h" |
26 #include "content/public/common/content_constants.h" | 26 #include "content/public/common/content_constants.h" |
27 #include "net/spdy/spdy_session.h" | 27 #include "net/spdy/spdy_session.h" |
28 #include "ui/base/layout.h" | 28 #include "ui/base/layout.h" |
29 | 29 |
30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
31 #include "chrome/browser/chromeos/login/users/user_manager.h" | 31 #include "components/user_manager/user_manager.h" |
32 #endif | 32 #endif |
33 | 33 |
34 namespace chrome { | 34 namespace chrome { |
35 | 35 |
36 namespace { | 36 namespace { |
37 | 37 |
38 void AutoLaunchChromeFieldTrial() { | 38 void AutoLaunchChromeFieldTrial() { |
39 std::string brand; | 39 std::string brand; |
40 google_brand::GetBrand(&brand); | 40 google_brand::GetBrand(&brand); |
41 | 41 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 PrefService* local_state) { | 120 PrefService* local_state) { |
121 prerender::ConfigurePrerender(parsed_command_line); | 121 prerender::ConfigurePrerender(parsed_command_line); |
122 AutoLaunchChromeFieldTrial(); | 122 AutoLaunchChromeFieldTrial(); |
123 SetupInfiniteCacheFieldTrial(); | 123 SetupInfiniteCacheFieldTrial(); |
124 DisableShowProfileSwitcherTrialIfNecessary(); | 124 DisableShowProfileSwitcherTrialIfNecessary(); |
125 SetupShowAppLauncherPromoFieldTrial(local_state); | 125 SetupShowAppLauncherPromoFieldTrial(local_state); |
126 SetupPreReadFieldTrial(); | 126 SetupPreReadFieldTrial(); |
127 } | 127 } |
128 | 128 |
129 } // namespace chrome | 129 } // namespace chrome |
OLD | NEW |