// PrefHashStore implementation.
virtual scoped_ptr<PrefHashStoreTransaction> BeginTransaction() OVERRIDE;
+ virtual void CommitPendingWrite() OVERRIDE;
// Returns the current version of this hash store.
StoreVersion GetCurrentVersion() const;
scoped_ptr<HashStoreContents> contents_;
const bool initial_hashes_dictionary_trusted_;
+ // True if hashes have been modified since the last call to
+ // CommitPendingWriteIfRequired().
+ bool has_pending_write_;
+
DISALLOW_COPY_AND_ASSIGN(PrefHashStoreImpl);
};