Index: content/browser/indexed_db/indexed_db_fake_backing_store.h |
diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.h b/content/browser/indexed_db/indexed_db_fake_backing_store.h |
index 5c64370563f3ac6896ecd31104c0715f064c8f8e..32ed612a419ed7a976e516e28ac4b59caee92e8e 100644 |
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.h |
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h |
@@ -90,7 +90,6 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore { |
const RecordIdentifier&) |
OVERRIDE; |
virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE; |
- |
virtual scoped_ptr<Cursor> OpenObjectStoreKeyCursor( |
Transaction* transaction, |
int64 database_id, |
@@ -123,13 +122,15 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore { |
class FakeTransaction : public IndexedDBBackingStore::Transaction { |
public: |
- FakeTransaction(bool result); |
+ FakeTransaction(leveldb::Status phase_two_result); |
virtual void Begin() OVERRIDE; |
- virtual leveldb::Status Commit() OVERRIDE; |
+ virtual leveldb::Status CommitPhaseOne( |
+ scoped_refptr<BlobWriteCallback>) OVERRIDE; |
+ virtual leveldb::Status CommitPhaseTwo() OVERRIDE; |
virtual void Rollback() OVERRIDE; |
private: |
- bool result_; |
+ leveldb::Status result_; |
}; |
protected: |