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

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: fix expectations for android and cros 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 cf515511ce1859451fda1ecf6527ed0b01653971..15d43f2b55787709724fe79dfc335617491384bc 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. |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