#include "content/browser/indexed_db/indexed_db_backing_store.h"
namespace base {
-class TaskRunner;
+class SequencedTaskRunner;
}
namespace content {
public:
IndexedDBFakeBackingStore();
IndexedDBFakeBackingStore(IndexedDBFactory* factory,
- base::TaskRunner* task_runner);
+ base::SequencedTaskRunner* task_runner);
virtual std::vector<base::string16> GetDatabaseNames(leveldb::Status* s)
OVERRIDE;
virtual leveldb::Status GetIDBDatabaseMetaData(const base::string16& name,
int64 database_id,
int64 object_store_id,
const IndexedDBKey& key,
- IndexedDBValue& value,
+ IndexedDBValue* value,
ScopedVector<webkit_blob::BlobDataHandle>* handles,
RecordIdentifier* record) OVERRIDE;
int64 database_id,
int64 object_store_id,
const IndexedDBKeyRange& key_range,
- indexed_db::CursorDirection,
+ blink::WebIDBCursorDirection,
leveldb::Status*) OVERRIDE;
virtual scoped_ptr<Cursor> OpenObjectStoreCursor(
Transaction* transaction,
int64 database_id,
int64 object_store_id,
const IndexedDBKeyRange& key_range,
- indexed_db::CursorDirection,
+ blink::WebIDBCursorDirection,
leveldb::Status*) OVERRIDE;
virtual scoped_ptr<Cursor> OpenIndexKeyCursor(
Transaction* transaction,
int64 object_store_id,
int64 index_id,
const IndexedDBKeyRange& key_range,
- indexed_db::CursorDirection,
+ blink::WebIDBCursorDirection,
leveldb::Status*) OVERRIDE;
virtual scoped_ptr<Cursor> OpenIndexCursor(Transaction* transaction,
int64 database_id,
int64 object_store_id,
int64 index_id,
const IndexedDBKeyRange& key_range,
- indexed_db::CursorDirection,
+ blink::WebIDBCursorDirection,
leveldb::Status*) OVERRIDE;
class FakeTransaction : public IndexedDBBackingStore::Transaction {
friend class base::RefCounted<IndexedDBFakeBackingStore>;
virtual ~IndexedDBFakeBackingStore();
+ private:
DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore);
};