OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/metrics/chrome_metrics_service_accessor.h" | 5 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" |
6 | 6 |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
| 8 #include "build/build_config.h" |
8 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
9 #include "chrome/common/features.h" | 10 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
12 | 13 |
13 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
14 #include "chrome/browser/chromeos/settings/cros_settings.h" | 15 #include "chrome/browser/chromeos/settings/cros_settings.h" |
15 #endif | 16 #endif |
16 | 17 |
17 // static | 18 // static |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 56 } |
56 | 57 |
57 // static | 58 // static |
58 bool ChromeMetricsServiceAccessor::RegisterSyntheticFieldTrialWithNameHash( | 59 bool ChromeMetricsServiceAccessor::RegisterSyntheticFieldTrialWithNameHash( |
59 uint32_t trial_name_hash, | 60 uint32_t trial_name_hash, |
60 const std::string& group_name) { | 61 const std::string& group_name) { |
61 return metrics::MetricsServiceAccessor:: | 62 return metrics::MetricsServiceAccessor:: |
62 RegisterSyntheticFieldTrialWithNameHash( | 63 RegisterSyntheticFieldTrialWithNameHash( |
63 g_browser_process->metrics_service(), trial_name_hash, group_name); | 64 g_browser_process->metrics_service(), trial_name_hash, group_name); |
64 } | 65 } |
OLD | NEW |