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

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: undo git cl format 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..dafd7d5305e2b15272a5120f4559d82b69943c75 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 TrackedPreferenceValidationDelegate;
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 |validation_delegate| 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,
+ TrackedPreferenceValidationDelegate* validation_delegate);
// 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