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

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

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 5 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/policy/url_blacklist_manager.cc ('k') | chrome/browser/prefs/browser_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_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 PrefRegistrySimple; 8 class PrefRegistrySimple;
9 class PrefService; 9 class PrefService;
10 class Profile; 10 class Profile;
11 11
12 namespace user_prefs { 12 namespace user_prefs {
13 class PrefRegistrySyncable; 13 class PrefRegistrySyncable;
14 } 14 }
15 15
16 namespace chrome { 16 namespace chrome {
17 17
18 // Register all prefs that will be used via the local state PrefService. 18 // Register all prefs that will be used via the local state PrefService.
19 void RegisterLocalState(PrefRegistrySimple* registry); 19 void RegisterLocalState(PrefRegistrySimple* registry);
20 20
21 // Register all prefs that will be used via a PrefService attached to a Profile. 21 // Register all prefs that will be used via a PrefService attached to a user
22 void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); 22 // Profile.
23 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
24
25 #if defined(OS_CHROMEOS)
26 // Register all prefs that will be used via a PrefService attached to the login
27 // Profile.
28 void RegisterLoginProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
29 #endif
23 30
24 // Migrates prefs from |local_state| to |profile|'s pref store. 31 // Migrates prefs from |local_state| to |profile|'s pref store.
25 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state); 32 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state);
26 33
27 // Migrates prefs in |profile|'s pref store. 34 // Migrates prefs in |profile|'s pref store.
28 void MigrateUserPrefs(Profile* profile); 35 void MigrateUserPrefs(Profile* profile);
29 36
30 } // namespace chrome 37 } // namespace chrome
31 38
32 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ 39 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/url_blacklist_manager.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698