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

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

Issue 10698111: browser: Move more files into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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 #pragma once 7 #pragma once
8 8
9 class PrefService; 9 class PrefService;
10 class Profile; 10 class Profile;
11 11
12 namespace browser { 12 namespace chrome {
13
14 // Bitmask for kMultipleProfilePrefMigration.
15 enum MigratedPreferences {
16 NO_PREFS = 0,
17 DNS_PREFS = 1 << 0,
18 WINDOWS_PREFS = 1 << 1,
19 GOOGLE_URL_TRACKER_PREFS = 1 << 2,
20 };
21 13
22 // Makes the PrefService objects aware of all the prefs. 14 // Makes the PrefService objects aware of all the prefs.
23 void RegisterLocalState(PrefService* local_state); 15 void RegisterLocalState(PrefService* local_state);
24 void RegisterUserPrefs(PrefService* user_prefs); 16 void RegisterUserPrefs(PrefService* user_prefs);
25 // Migrate prefs from local_state to |profile|'s pref store. 17
18 // Migrates prefs from |local_state| to |profile|'s pref store.
26 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state); 19 void MigrateBrowserPrefs(Profile* profile, PrefService* local_state);
27 20
28 } // namespace browser 21 } // namespace chrome
29 22
30 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H__ 23 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/user_cloud_policy_manager_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698