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 113a0567093f212338b0f5832f646aaa4ebfdaf3..f4f67d7ae54bf6700a01a25e1b812f5a71fbe1f0 100644 |
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.h |
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h |
@@ -9,14 +9,19 @@ |
#include "content/browser/indexed_db/indexed_db_backing_store.h" |
+namespace base { |
+class TaskRunner; |
+} |
+ |
namespace content { |
+class IndexedDBFactory; |
+ |
class IndexedDBFakeBackingStore : public IndexedDBBackingStore { |
public: |
- IndexedDBFakeBackingStore() |
- : IndexedDBBackingStore(GURL("http://localhost:81"), |
- scoped_ptr<LevelDBDatabase>(), |
- scoped_ptr<LevelDBComparator>()) {} |
+ IndexedDBFakeBackingStore(); |
+ IndexedDBFakeBackingStore(IndexedDBFactory* factory, |
+ base::TaskRunner* task_runner); |
virtual std::vector<base::string16> GetDatabaseNames() OVERRIDE; |
virtual leveldb::Status GetIDBDatabaseMetaData(const base::string16& name, |
IndexedDBDatabaseMetadata*, |
@@ -83,6 +88,7 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore { |
const IndexedDBKey&, |
const RecordIdentifier&) |
OVERRIDE; |
+ virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE; |
virtual scoped_ptr<Cursor> OpenObjectStoreKeyCursor( |
Transaction* transaction, |