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

Side by Side Diff: chrome/browser/ui/browser_ui_prefs.h

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double registration in Chrome Frame test. Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/app_list/app_list_util.cc ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_
6 #define CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class PrefServiceSimple; 10 class PrefRegistrySimple;
11 class PrefServiceSyncable; 11 class PrefServiceSyncable;
12 class Profile; 12 class Profile;
13 13
14 namespace chrome { 14 namespace chrome {
15 15
16 void RegisterBrowserPrefs(PrefServiceSimple* prefs); 16 void RegisterBrowserPrefs(PrefRegistrySimple* registry);
17 void RegisterBrowserUserPrefs(PrefServiceSyncable* prefs); 17 void RegisterBrowserUserPrefs(PrefServiceSyncable* prefs);
18 18
19 // Create a preference dictionary for the provided application name, in the 19 // Create a preference dictionary for the provided application name, in the
20 // given user profile. This is done only once per application name / per 20 // given user profile. This is done only once per application name / per
21 // session / per user profile. 21 // session / per user profile.
22 void RegisterAppPrefs(const std::string& app_name, Profile* profile); 22 void RegisterAppPrefs(const std::string& app_name, Profile* profile);
23 23
24 } // namespace chrome 24 } // namespace chrome
25 25
26 #endif // CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_ 26 #endif // CHROME_BROWSER_UI_BROWSER_UI_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_util.cc ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698