Home
last modified time | relevance | path

Searched refs:primary_key (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/content/browser/indexed_db/
Dindexed_db_index_writer.cc38 const IndexedDBKey& primary_key, in VerifyIndexKeys() argument
49 primary_key, in VerifyIndexKeys()
96 const IndexedDBKey& primary_key, in AddingKeyAllowed() argument
116 (primary_key.IsValid() && found_primary_key->Equals(primary_key))) in AddingKeyAllowed()
126 const IndexedDBKey& primary_key, // makes a copy in MakeIndexWriters() argument
148 keys.second.push_back(primary_key); in MakeIndexWriters()
159 primary_key, in MakeIndexWriters()
Dindexed_db_cursor.cc37 scoped_ptr<IndexedDBKey> primary_key, in Continue() argument
46 base::Passed(&primary_key), in Continue()
75 callbacks->OnSuccess(key(), primary_key(), Value()); in CursorAdvanceOperation()
80 scoped_ptr<IndexedDBKey> primary_key, in CursorIterationOperation() argument
89 primary_key.get(), in CursorIterationOperation()
97 callbacks->OnSuccess(this->key(), this->primary_key(), Value()); in CursorIterationOperation()
144 found_primary_keys.push_back(cursor_->primary_key()); in CursorPrefetchIterationOperation()
161 size_estimate += cursor_->primary_key().size_estimate(); in CursorPrefetchIterationOperation()
Dindexed_db_cursor.h31 scoped_ptr<IndexedDBKey> primary_key, in NON_EXPORTED_BASE()
38 const IndexedDBKey& primary_key() const { return cursor_->primary_key(); } in NON_EXPORTED_BASE()
46 scoped_ptr<IndexedDBKey> primary_key, in NON_EXPORTED_BASE()
Dindexed_db_index_writer.h36 const IndexedDBKey& primary_key,
54 const IndexedDBKey& primary_key,
68 const IndexedDBKey& primary_key,
Dindexed_db_backing_store.h159 RecordIdentifier(const std::string& primary_key, int64 version);
163 const std::string& primary_key() const { return primary_key_; } in primary_key() function
165 void Reset(const std::string& primary_key, int64 version) { in Reset() argument
166 primary_key_ = primary_key; in Reset()
261 scoped_ptr<IndexedDBKey>* primary_key) WARN_UNUSED_RESULT;
307 const IndexedDBKey* primary_key,
314 virtual const IndexedDBKey& primary_key() const;
328 const IndexedDBKey& primary_key) = 0;
Dindexed_db_callbacks.h74 const IndexedDBKey& primary_key,
79 const IndexedDBKey& primary_key,
Dindexed_db_callbacks.cc306 const IndexedDBKey& primary_key, in OnSuccess() argument
323 params->primary_key = primary_key; in OnSuccess()
347 const IndexedDBKey& primary_key, in OnSuccess() argument
370 params->primary_key = primary_key; in OnSuccess()
477 params->primary_key = key; in OnSuccess()
Dindexed_db_backing_store.cc743 const std::string& primary_key, in RecordIdentifier() argument
745 : primary_key_(primary_key), version_(version) { in RecordIdentifier()
746 DCHECK(!primary_key.empty()); in RecordIdentifier()
1940 database_id, object_store_id, record_identifier.primary_key()); in DeleteRecord()
1948 database_id, object_store_id, record_identifier.primary_key()); in DeleteRecord()
2379 std::string primary_key = BlobJournalKey::Encode(); in ReportBlobUnused() local
2381 if (!GetBlobJournal(primary_key, transaction.get(), &primary_journal).ok()) in ReportBlobUnused()
2786 record_identifier.primary_key(), in PutIndexDataForRecord()
2791 data.append(record_identifier.primary_key()); in PutIndexDataForRecord()
2919 scoped_ptr<IndexedDBKey>* primary_key) { in GetPrimaryKeyViaIndex() argument
[all …]
Dindexed_db_database.cc580 scoped_ptr<IndexedDBKey> primary_key; in GetOperation() local
622 &primary_key); in GetOperation()
632 if (!primary_key) { in GetOperation()
638 callbacks->OnSuccess(*primary_key); in GetOperation()
647 *primary_key, in GetOperation()
665 callbacks->OnSuccess(&value, *primary_key, object_store_metadata.key_path); in GetOperation()
892 scoped_ptr<IndexedDBKey> primary_key, in SetIndexKeys() argument
908 *primary_key, in SetIndexKeys()
938 *primary_key, in SetIndexKeys()
1115 cursor, cursor->key(), cursor->primary_key(), cursor->Value()); in OpenCursorOperation()
Dindexed_db_dispatcher_host.cc696 make_scoped_ptr(new IndexedDBKey(params.primary_key)), in OnSetIndexKeys()
928 const IndexedDBKey& primary_key) { in OnContinue() argument
939 primary_key.IsValid() ? make_scoped_ptr(new IndexedDBKey(primary_key)) in OnContinue()
Dindexed_db_dispatcher_host.h249 const IndexedDBKey& primary_key);
Dindexed_db_database.h140 scoped_ptr<IndexedDBKey> primary_key, in NON_EXPORTED_BASE()
Dindexed_db_leveldb_coding.h479 scoped_ptr<IndexedDBKey> primary_key() const;
Dindexed_db_leveldb_coding.cc2030 scoped_ptr<IndexedDBKey> IndexDataKey::primary_key() const { in primary_key() function in content::IndexDataKey
/external/chromium_org/content/child/indexed_db/
Dwebidbcursor_impl.cc67 const WebIDBKey& primary_key, in continueFunction() argument
74 primary_key.keyType() == blink::WebIDBKeyTypeNull) { in continueFunction()
103 IndexedDBKeyBuilder::Build(primary_key), in continueFunction()
162 IndexedDBKey primary_key = prefetch_primary_keys_.front(); in CachedContinue() local
183 WebIDBKeyBuilder::Build(primary_key), in CachedContinue()
Dindexed_db_dispatcher.cc190 const IndexedDBKey& primary_key, in RequestIDBCursorContinue() argument
201 ipc_cursor_id, CurrentWorkerId(), ipc_callbacks_id, key, primary_key)); in RequestIDBCursorContinue()
580 WebIDBKeyBuilder::Build(params.primary_key), in OnSuccessValueWithKey()
612 const IndexedDBKey& primary_key = p.primary_key; in OnSuccessOpenCursor() local
632 WebIDBKeyBuilder::Build(primary_key), in OnSuccessOpenCursor()
645 const IndexedDBKey& primary_key = p.primary_key; in OnSuccessCursorContinue() local
660 WebIDBKeyBuilder::Build(primary_key), in OnSuccessCursorContinue()
Dwebidbdatabase_impl.cc138 const WebIDBKey& primary_key, in setIndexKeys() argument
145 params.primary_key = IndexedDBKeyBuilder::Build(primary_key); in setIndexKeys()
Dwebidbcursor_impl.h37 const blink::WebIDBKey& primary_key, in NON_EXPORTED_BASE()
Dindexed_db_dispatcher.h98 const IndexedDBKey& primary_key,
Dwebidbcursor_impl_unittest.cc65 const IndexedDBKey& primary_key, in RequestIDBCursorContinue() argument
/external/chromium_org/content/common/indexed_db/
Dindexed_db_messages.h222 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
252 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
263 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
293 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)