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

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

Issue 5915006: Remove user-related data from local_state and add to user_preferences, i... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: svn pset Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #pragma once 7 #pragma once
8 8
9 class PrefService; 9 class PrefService;
10 10
11 namespace browser { 11 namespace browser {
12 12
13 // Makes the PrefService objects aware of all the prefs. 13 // Makes the PrefService objects aware of all the prefs.
14 void RegisterAllPrefs(PrefService* user_prefs, PrefService* local_state); 14 void RegisterAllPrefs(PrefService* user_prefs, PrefService* local_state);
15 void RegisterLocalState(PrefService* local_state); 15 void RegisterLocalState(PrefService* local_state);
16 void RegisterUserPrefs(PrefService* user_prefs); 16 void RegisterUserPrefs(PrefService* user_prefs);
17 17 // Remove any obsolete preferences.
18 void ClearObsoletePrefs(PrefService* user_prefs, PrefService* local_state);
18 } // namespace browser 19 } // namespace browser
19 20
20 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H__ 21 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698