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

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

Issue 2860683002: WIP: Pref service: use the incognito support from Chrome
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « no previous file | 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 #include <set> 8 #include <set>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Migrate/cleanup deprecated prefs in |profile|'s pref store. Over time, long 44 // Migrate/cleanup deprecated prefs in |profile|'s pref store. Over time, long
45 // deprecated prefs should be removed as new ones are added, but this call 45 // deprecated prefs should be removed as new ones are added, but this call
46 // should never go away (even if it becomes an empty call for some time) as it 46 // should never go away (even if it becomes an empty call for some time) as it
47 // should remain *the* place to drop deprecated profile prefs at. 47 // should remain *the* place to drop deprecated profile prefs at.
48 void MigrateObsoleteProfilePrefs(Profile* profile); 48 void MigrateObsoleteProfilePrefs(Profile* profile);
49 49
50 // The pref stores Chrome expects to exist. 50 // The pref stores Chrome expects to exist.
51 std::set<PrefValueStore::PrefStoreType> ExpectedPrefStores(); 51 std::set<PrefValueStore::PrefStoreType> ExpectedPrefStores();
52 52
53 // The pref stores Chrome expects to exist for incognito.
54 std::set<PrefValueStore::PrefStoreType> ExpectedIncognitoPrefStores();
55
53 // The pref stores Chrome creates in-process (and thus doesn't need to connect 56 // The pref stores Chrome creates in-process (and thus doesn't need to connect
54 // to through the pref service). 57 // to through the pref service).
55 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores(); 58 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores();
56 59
60 std::set<PrefValueStore::PrefStoreType> InProcessIncognitoPrefStores();
61
57 } // namespace chrome 62 } // namespace chrome
58 63
59 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_ 64 #endif // CHROME_BROWSER_PREFS_BROWSER_PREFS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698