[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / browser_ui_prefs.h
blob9b137ccd60f89cba32b5e3008e053b1880d8fe33
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_
6 #define CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_
8 #include <string>
10 class PrefRegistrySimple;
11 class Profile;
13 namespace user_prefs {
14 class PrefRegistrySyncable;
17 namespace chrome {
19 void RegisterBrowserPrefs(PrefRegistrySimple* registry);
20 void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry);
22 // Create a preference dictionary for the provided application name, in the
23 // given user profile. This is done only once per application name / per
24 // session / per user profile.
25 void RegisterAppPrefs(const std::string& app_name, Profile* profile);
27 } // namespace chrome
29 #endif // CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_