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

Unified Diff: content/browser/indexed_db/indexed_db_fake_backing_store.h

Issue 18023022: Blob support for IDB [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged out--bot failed due to staleness. Created 6 years, 7 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: 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 8b1d22291f0c5e1321bbe49e5b5db63584616d8e..6f383c12af413dae1ca6845102bc1f96006e4fd9 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h
@@ -103,7 +103,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,
@@ -136,13 +135,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:

Powered by Google App Engine
This is Rietveld 408576698