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

Unified Diff: chrome/browser/prefs/profile_pref_store_manager.h

Issue 266553002: Add TrackedPreferenceValidationDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/prefs/profile_pref_store_manager.h
diff --git a/chrome/browser/prefs/profile_pref_store_manager.h b/chrome/browser/prefs/profile_pref_store_manager.h
index fa2456bebcfc9823b7087c84c17bdf801141cae4..e5ba3daeae2d4ac611e530cddc113a530c67e7b8 100644
--- a/chrome/browser/prefs/profile_pref_store_manager.h
+++ b/chrome/browser/prefs/profile_pref_store_manager.h
@@ -17,6 +17,7 @@
class PersistentPrefStore;
class PrefHashStoreImpl;
class PrefService;
+class TrackedPreferenceValidationObserver;
namespace base {
class DictionaryValue;
@@ -81,9 +82,11 @@ class ProfilePrefStoreManager {
void ResetPrefHashStore();
// Creates a PersistentPrefStore providing access to the user preferences of
- // the managed profile.
+ // the managed profile. An optional |verification_observer| will be notified
+ // of the status of each tracked preference as they are checked.
PersistentPrefStore* CreateProfilePrefStore(
- const scoped_refptr<base::SequencedTaskRunner>& io_task_runner);
+ const scoped_refptr<base::SequencedTaskRunner>& io_task_runner,
+ scoped_ptr<TrackedPreferenceValidationObserver> verification_observer);
// Checks the presence/version of the hash store for the managed profile and
// creates or updates it if necessary. Completes asynchronously and is safe if

Powered by Google App Engine
This is Rietveld 408576698