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

Side by Side Diff: chrome/browser/prefs/browser_prefs.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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
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_PREFS_BROWSER_PREFS_H_ 5 #ifndef CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
6 #define CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ 6 #define CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
7 7
8 class PrefService; 8 class PrefService;
9 class PrefServiceSimple;
10 class PrefServiceSyncable;
9 class Profile; 11 class Profile;
10 12
11 namespace chrome { 13 namespace chrome {
12 14
13 // Makes the PrefService objects aware of all the prefs. 15 // Makes the PrefService objects aware of all the prefs.
14 void RegisterLocalState(PrefService* local_state); 16 void RegisterLocalState(PrefServiceSimple* local_state);
15 void RegisterUserPrefs(PrefService* user_prefs); 17 void RegisterUserPrefs(PrefServiceSyncable* user_prefs);
16 18
17 // Migrates prefs from |local_state| to |profile|'s pref store. 19 // Migrates prefs from |local_state| to |profile|'s pref store.
18 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state); 20 void MigrateBrowserPrefs(Profile* profile, PrefServiceSimple* local_state);
19 21
20 // Migrates prefs in |profile|'s pref store. 22 // Migrates prefs in |profile|'s pref store.
21 void MigrateUserPrefs(Profile* profile); 23 void MigrateUserPrefs(Profile* profile);
22 24
23 } // namespace chrome 25 } // namespace chrome
24 26
25 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ 27 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/user_policy_signin_service_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698