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

Side by Side Diff: chrome/browser/metrics/chrome_metrics_service_accessor.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698