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

Unified Diff: chrome/browser/prefs/pref_hash_store_impl.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_impl.h
diff --git a/chrome/browser/prefs/pref_hash_store_impl.h b/chrome/browser/prefs/pref_hash_store_impl.h
index 38fd19f96c07d1218f9fb472fbcd0167e2c06061..44dd32454661074fefd2fda3e203666f1a37212e 100644
--- a/chrome/browser/prefs/pref_hash_store_impl.h
+++ b/chrome/browser/prefs/pref_hash_store_impl.h
@@ -42,7 +42,6 @@ class PrefHashStoreImpl : public PrefHashStore {
// previously stored hashes in |contents|.
PrefHashStoreImpl(const std::string& seed,
const std::string& device_id,
- scoped_ptr<HashStoreContents> contents,
bool use_super_mac);
virtual ~PrefHashStoreImpl();
@@ -52,21 +51,15 @@ class PrefHashStoreImpl : public PrefHashStore {
void Reset();
// PrefHashStore implementation.
- virtual scoped_ptr<PrefHashStoreTransaction> BeginTransaction() OVERRIDE;
- virtual void CommitPendingWrite() OVERRIDE;
+ virtual scoped_ptr<PrefHashStoreTransaction> BeginTransaction(
+ base::DictionaryValue* storage) OVERRIDE;
private:
class PrefHashStoreTransactionImpl;
const PrefHashCalculator pref_hash_calculator_;
- scoped_ptr<HashStoreContents> contents_;
- const bool initial_hashes_dictionary_trusted_;
bool use_super_mac_;
- // True if hashes have been modified since the last call to
- // CommitPendingWriteIfRequired().
- bool has_pending_write_;
-
DISALLOW_COPY_AND_ASSIGN(PrefHashStoreImpl);
};

Powered by Google App Engine
This is Rietveld 408576698