Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/predictors/
Dresource_prefetch_predictor_tables.cc29 const std::string& primary_key, in BindResourceRowToStatement() argument
31 statement->BindString(0, primary_key); in BindResourceRowToStatement()
46 row->primary_key = statement->ColumnString(0); in StepAndInitializeResourceRow()
75 : primary_key(other.primary_key), in ResourceRow()
93 : primary_key(i_primary_key), in ResourceRow()
123 return primary_key == rhs.primary_key && in operator ==()
142 primary_key(i_primary_key) { in PrefetchData()
148 primary_key(other.primary_key), in PrefetchData()
158 return key_type == rhs.key_type && primary_key == rhs.primary_key && in operator ==()
190 DCHECK(!url_data.primary_key.empty() || !host_data.primary_key.empty()); in UpdateData()
[all …]
Dresource_prefetch_predictor_tables.h54 std::string primary_key; member
77 PrefetchData(PrefetchKeyType key_type, const std::string& primary_key);
86 std::string primary_key; // is_host() ? main frame url : host. member
Dresource_prefetch_predictor_unittest.cc36 *os << "[" << row.primary_key << "," << row.resource_url in PrintTo()
43 *os << "[" << data.key_type << "," << data.primary_key in PrintTo()
Dresource_prefetch_predictor_tables_unittest.cc60 LOG(ERROR) << "[" << data.key_type << "," << data.primary_key in PrintPrefetchData()
/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.h32 scoped_ptr<IndexedDBKey> primary_key, in NON_EXPORTED_BASE()
39 const IndexedDBKey& primary_key() const { return cursor_->primary_key(); } in NON_EXPORTED_BASE()
47 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.h68 RecordIdentifier(const std::string& primary_key, int64 version);
72 const std::string& primary_key() const { return primary_key_; } in primary_key() function
74 void Reset(const std::string& primary_key, int64 version) { in Reset() argument
75 primary_key_ = primary_key; in Reset()
261 const IndexedDBKey* primary_key,
268 virtual const IndexedDBKey& primary_key() const;
282 const IndexedDBKey& primary_key) = 0;
457 scoped_ptr<IndexedDBKey>* primary_key) WARN_UNUSED_RESULT;
Dindexed_db_callbacks.h74 const IndexedDBKey& primary_key,
79 const IndexedDBKey& primary_key,
Dindexed_db_callbacks.cc345 const IndexedDBKey& primary_key, in OnSuccess() argument
362 params->primary_key = primary_key; in OnSuccess()
386 const IndexedDBKey& primary_key, in OnSuccess() argument
409 params->primary_key = primary_key; in OnSuccess()
515 params->primary_key = key; in OnSuccess()
Dindexed_db_backing_store.cc742 const std::string& primary_key, in RecordIdentifier() argument
744 : primary_key_(primary_key), version_(version) { in RecordIdentifier()
745 DCHECK(!primary_key.empty()); in RecordIdentifier()
1979 database_id, object_store_id, record_identifier.primary_key()); in DeleteRecord()
1987 database_id, object_store_id, record_identifier.primary_key()); in DeleteRecord()
2427 std::string primary_key = BlobJournalKey::Encode(); in ReportBlobUnused() local
2429 if (!GetBlobJournal(primary_key, transaction.get(), &primary_journal).ok()) in ReportBlobUnused()
2835 record_identifier.primary_key(), in PutIndexDataForRecord()
2840 data.append(record_identifier.primary_key()); in PutIndexDataForRecord()
2968 scoped_ptr<IndexedDBKey>* primary_key) { in GetPrimaryKeyViaIndex() argument
[all …]
Dindexed_db_database.cc588 scoped_ptr<IndexedDBKey> primary_key; in GetOperation() local
630 &primary_key); in GetOperation()
640 if (!primary_key) { in GetOperation()
646 callbacks->OnSuccess(*primary_key); in GetOperation()
655 *primary_key, in GetOperation()
673 callbacks->OnSuccess(&value, *primary_key, object_store_metadata.key_path); in GetOperation()
900 scoped_ptr<IndexedDBKey> primary_key, in SetIndexKeys() argument
916 *primary_key, in SetIndexKeys()
946 *primary_key, in SetIndexKeys()
1123 cursor, cursor->key(), cursor->primary_key(), cursor->Value()); in OpenCursorOperation()
Dindexed_db_dispatcher_host.cc709 make_scoped_ptr(new IndexedDBKey(params.primary_key)), in OnSetIndexKeys()
941 const IndexedDBKey& primary_key) { in OnContinue() argument
952 primary_key.IsValid() ? make_scoped_ptr(new IndexedDBKey(primary_key)) in OnContinue()
Dindexed_db_dispatcher_host.h220 const IndexedDBKey& primary_key);
Dindexed_db_database.h135 scoped_ptr<IndexedDBKey> primary_key, in NON_EXPORTED_BASE()
Dindexed_db_leveldb_coding.h481 scoped_ptr<IndexedDBKey> primary_key() const;
Dindexed_db_leveldb_coding.cc2033 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()
584 WebIDBKeyBuilder::Build(params.primary_key), in OnSuccessValueWithKey()
616 const IndexedDBKey& primary_key = p.primary_key; in OnSuccessOpenCursor() local
636 WebIDBKeyBuilder::Build(primary_key), in OnSuccessOpenCursor()
649 const IndexedDBKey& primary_key = p.primary_key; in OnSuccessCursorContinue() local
664 WebIDBKeyBuilder::Build(primary_key), in OnSuccessCursorContinue()
Dwebidbdatabase_impl.cc144 const WebIDBKey& primary_key, in setIndexKeys() argument
151 params.primary_key = IndexedDBKeyBuilder::Build(primary_key); in setIndexKeys()
Dwebidbcursor_impl.h37 const blink::WebIDBKey& primary_key, in NON_EXPORTED_BASE()
Dindexed_db_dispatcher.h97 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.h226 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
256 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
267 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)
297 IPC_STRUCT_MEMBER(content::IndexedDBKey, primary_key)