Lines Matching refs:index_id

164 void IndexedDBDatabase::RemoveIndex(int64 object_store_id, int64 index_id) {
170 DCHECK(object_store.indexes.find(index_id) != object_store.indexes.end());
171 object_store.indexes.erase(index_id);
225 int64 index_id) const {
230 if (!ContainsKey(object_store_metadata.indexes, index_id)) {
231 DLOG(ERROR) << "Invalid index_id";
239 int64 index_id) const {
244 if (index_id != IndexedDBIndexMetadata::kInvalidId &&
245 !ContainsKey(object_store_metadata.indexes, index_id)) {
246 DLOG(ERROR) << "Invalid index_id";
254 int64 index_id) const {
259 if (ContainsKey(object_store_metadata.indexes, index_id)) {
260 DLOG(ERROR) << "Invalid index_id";
337 int64 index_id,
348 if (!ValidateObjectStoreIdAndNewIndexId(object_store_id, index_id))
354 name, index_id, key_path, unique, multi_entry);
372 AddIndex(object_store_id, index_metadata, index_id);
377 index_id));
382 int64 index_id,
388 RemoveIndex(object_store_id, index_id);
393 int64 index_id) {
400 if (!ValidateObjectStoreIdAndIndexId(object_store_id, index_id))
407 index_id));
412 int64 index_id,
418 metadata_.object_stores[object_store_id].indexes[index_id];
424 index_id);
438 RemoveIndex(object_store_id, index_id);
495 int64 index_id,
504 if (!ValidateObjectStoreIdAndOptionalIndexId(object_store_id, index_id))
511 index_id,
519 int64 index_id,
538 if (index_id == IndexedDBIndexMetadata::kInvalidId) {
554 index_id,
564 index_id,
589 if (index_id == IndexedDBIndexMetadata::kInvalidId) {
628 index_id,
1003 int64 index_id;
1017 int64 index_id,
1028 if (!ValidateObjectStoreIdAndOptionalIndexId(object_store_id, index_id))
1033 params->index_id = index_id;
1059 if (params->index_id == IndexedDBIndexMetadata::kInvalidId) {
1085 params->index_id,
1094 params->index_id,
1128 int64 index_id,
1136 if (!ValidateObjectStoreIdAndOptionalIndexId(object_store_id, index_id))
1142 index_id,
1149 int64 index_id,
1158 if (index_id == IndexedDBIndexMetadata::kInvalidId) {
1171 index_id,