[email protected] | aa61db0 | 2013-04-23 00:23:49 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "chrome/browser/chrome_browser_field_trials_mobile.h" | ||||
6 | |||||
avi | e4d7b6f | 2015-12-26 00:59:18 | [diff] [blame] | 7 | #include "build/build_config.h" |
Matthew Cary | 4f09c14 | 2019-03-06 11:15:56 | [diff] [blame^] | 8 | #include "chrome/browser/browser_process.h" |
[email protected] | aa61db0 | 2013-04-23 00:23:49 | [diff] [blame] | 9 | |
[email protected] | f6b6406 | 2014-02-06 18:49:11 | [diff] [blame] | 10 | #if defined(OS_ANDROID) |
11 | #include "chrome/browser/prerender/prerender_field_trial.h" | ||||
12 | #endif | ||||
13 | |||||
[email protected] | aa61db0 | 2013-04-23 00:23:49 | [diff] [blame] | 14 | namespace chrome { |
15 | |||||
droger | bbb4856 | 2016-12-07 13:35:31 | [diff] [blame] | 16 | void SetupMobileFieldTrials() { |
Matthew Cary | 4f09c14 | 2019-03-06 11:15:56 | [diff] [blame^] | 17 | DCHECK(!g_browser_process); |
[email protected] | f6b6406 | 2014-02-06 18:49:11 | [diff] [blame] | 18 | #if defined(OS_ANDROID) |
Egor Pasko | 6fed382 | 2018-05-30 10:33:14 | [diff] [blame] | 19 | prerender::ConfigureNoStatePrefetch(); |
[email protected] | f6b6406 | 2014-02-06 18:49:11 | [diff] [blame] | 20 | #endif |
[email protected] | aa61db0 | 2013-04-23 00:23:49 | [diff] [blame] | 21 | } |
22 | |||||
23 | } // namespace chrome |