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

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

Issue 324493002: Move preference MACs to the protected preference stores. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment typo. Created 6 years, 6 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 ca835f6a6a314ec1be48b88f0fc0d5bfe74ce263..806b1296dbbeb170ce3a5a1e0448be5fb6aaada0 100644
--- a/chrome/browser/prefs/profile_pref_store_manager.h
+++ b/chrome/browser/prefs/profile_pref_store_manager.h
@@ -15,7 +15,7 @@
#include "chrome/browser/prefs/pref_hash_filter.h"
class PersistentPrefStore;
-class PrefHashStoreImpl;
+class PrefHashStore;
class PrefService;
class TrackedPreferenceValidationDelegate;
@@ -97,9 +97,12 @@ class ProfilePrefStoreManager {
const scoped_refptr<base::SequencedTaskRunner>& io_task_runner);
private:
- // Returns a PrefHashStoreImpl for the managed profile. Should only be called
- // if |kPlatformSupportsPreferenceTracking|.
- scoped_ptr<PrefHashStoreImpl> GetPrefHashStoreImpl();
+ // Returns a PrefHashStore for the managed profile. Should only be called
+ // if |kPlatformSupportsPreferenceTracking|. |use_super_mac| determines
+ // whether the returned object will calculate, store, and validate super MACs
+ // (and, by extension, accept non-null newly protected preferences as
+ // TrustedInitialized).
+ scoped_ptr<PrefHashStore> GetPrefHashStore(bool use_super_mac);
const base::FilePath profile_path_;
const std::vector<PrefHashFilter::TrackedPreferenceMetadata>
« no previous file with comments | « chrome/browser/prefs/pref_hash_store_transaction.h ('k') | chrome/browser/prefs/profile_pref_store_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698