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

Unified Diff: chrome/browser/prefs/tracked/pref_service_hash_store_contents.h

Issue 324493002: Move preference MACs to the protected preference stores. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self-review. 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/tracked/pref_service_hash_store_contents.h
diff --git a/chrome/browser/prefs/tracked/pref_service_hash_store_contents.h b/chrome/browser/prefs/tracked/pref_service_hash_store_contents.h
index 99fb259672f5311c166bfd7d813fed46b4a7d746..012afff06bb7e2db366b7be6225c83cbd4316e36 100644
--- a/chrome/browser/prefs/tracked/pref_service_hash_store_contents.h
+++ b/chrome/browser/prefs/tracked/pref_service_hash_store_contents.h
@@ -27,6 +27,11 @@ class PrefServiceHashStoreContents : public HashStoreContents {
PrefServiceHashStoreContents(const std::string& hash_store_id,
PrefService* pref_service);
+ // A dictionary pref which maps profile names to dictionary values which hold
+ // hashes of profile prefs that we track to detect changes that happen outside
+ // of Chrome.
+ static const char kProfilePreferenceHashes[];
+
// The name of a dict that is stored as a child of
// |prefs::kProfilePreferenceHashes|. Each child node is a string whose name
// is a hash store ID and whose value is the super MAC for the corresponding
@@ -53,7 +58,6 @@ class PrefServiceHashStoreContents : public HashStoreContents {
virtual scoped_ptr<MutableDictionary> GetMutableContents() OVERRIDE;
virtual std::string GetSuperMac() const OVERRIDE;
virtual void SetSuperMac(const std::string& super_mac) OVERRIDE;
- virtual void CommitPendingWrite() OVERRIDE;
private:
const std::string hash_store_id_;

Powered by Google App Engine
This is Rietveld 408576698