| Index: content/child/indexed_db/webidbdatabase_impl.cc
|
| diff --git a/content/child/indexed_db/webidbdatabase_impl.cc b/content/child/indexed_db/webidbdatabase_impl.cc
|
| index cbc7bbb3b0bf96bb1d09b8b490a7ae80a096397c..81ce98a5822f672910b6cde077aae557c6f3923f 100644
|
| --- a/content/child/indexed_db/webidbdatabase_impl.cc
|
| +++ b/content/child/indexed_db/webidbdatabase_impl.cc
|
| @@ -115,6 +115,25 @@ void WebIDBDatabaseImpl::get(long long transaction_id,
|
| callbacks);
|
| }
|
|
|
| +void WebIDBDatabaseImpl::getAll(long long transaction_id,
|
| + long long object_store_id,
|
| + long long index_id,
|
| + const WebIDBKeyRange& key_range,
|
| + long long max_count,
|
| + bool key_only,
|
| + WebIDBCallbacks* callbacks) {
|
| + // TODO(cmumford): Remove DCHECK's for index_id/key_only once IDBIndex.getAll
|
| + // is implemented.
|
| + static const int64 kInvalidId = -1;
|
| + DCHECK_EQ(kInvalidId, index_id);
|
| + DCHECK(!key_only);
|
| + IndexedDBDispatcher* dispatcher =
|
| + IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
|
| + dispatcher->RequestIDBDatabaseGetAll(
|
| + ipc_database_id_, transaction_id, object_store_id,
|
| + IndexedDBKeyRangeBuilder::Build(key_range), max_count, callbacks);
|
| +}
|
| +
|
| void WebIDBDatabaseImpl::put(long long transaction_id,
|
| long long object_store_id,
|
| const blink::WebData& value,
|
|
|