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

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

Issue 324493002: Move preference MACs to the protected preference stores. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some now unnecessary changes. 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/pref_hash_store.h
diff --git a/chrome/browser/prefs/pref_hash_store.h b/chrome/browser/prefs/pref_hash_store.h
index a6d97277b70b61acf57a3e3a9d64dd79bd2be7db..4370b141a5c40546cd5550cab7376ae947454b9b 100644
--- a/chrome/browser/prefs/pref_hash_store.h
+++ b/chrome/browser/prefs/pref_hash_store.h
@@ -9,6 +9,10 @@
class PrefHashStoreTransaction;
+namespace base {
+class DictionaryValue;
+} // namespace base
+
// Stores hashes of and verifies preference values via
// PrefHashStoreTransactions.
gab 2014/06/13 01:57:43 Update this comment to state that this PrefHashSto
erikwright (departed) 2014/06/16 20:51:26 Corrected it to refer specifically to this being a
class PrefHashStore {
@@ -17,11 +21,8 @@ class PrefHashStore {
// Returns a PrefHashStoreTransaction which can be used to perform a series
// of checks/transformations on the hash store.
gab 2014/06/13 01:57:43 Modify this comment to state that all transformati
erikwright (departed) 2014/06/16 20:51:26 In tests we may ignore |storage| in order to repro
- virtual scoped_ptr<PrefHashStoreTransaction> BeginTransaction() = 0;
-
- // Commits this store to disk if it has changed since the last call to this
- // method.
- virtual void CommitPendingWrite() = 0;
+ virtual scoped_ptr<PrefHashStoreTransaction> BeginTransaction(
+ base::DictionaryValue* storage) = 0;
gab 2014/06/13 01:57:43 I think it would make sense for this to take a Has
erikwright (departed) 2014/06/16 20:51:26 Done.
};
#endif // CHROME_BROWSER_PREFS_PREF_HASH_STORE_H_

Powered by Google App Engine
This is Rietveld 408576698