Searched defs:primary_key (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_cursor.h32 scoped_ptr<IndexedDBKey> primary_key,
39 const IndexedDBKey& primary_key() const { return cursor_->primary_key(); } function in class:content::IndexedDBCursor
47 scoped_ptr<IndexedDBKey> primary_key,
H A Dindexed_db_cursor.cc37 scoped_ptr<IndexedDBKey> primary_key,
46 base::Passed(&primary_key),
75 callbacks->OnSuccess(key(), primary_key(), Value());
80 scoped_ptr<IndexedDBKey> primary_key,
89 primary_key.get(),
97 callbacks->OnSuccess(this->key(), this->primary_key(), Value());
144 found_primary_keys.push_back(cursor_->primary_key());
161 size_estimate += cursor_->primary_key().size_estimate();
36 Continue(scoped_ptr<IndexedDBKey> key, scoped_ptr<IndexedDBKey> primary_key, scoped_refptr<IndexedDBCallbacks> callbacks) argument
78 CursorIterationOperation( scoped_ptr<IndexedDBKey> key, scoped_ptr<IndexedDBKey> primary_key, scoped_refptr<IndexedDBCallbacks> callbacks, IndexedDBTransaction* ) argument
H A Dindexed_db_index_writer.cc38 const IndexedDBKey& primary_key,
49 primary_key,
96 const IndexedDBKey& primary_key,
116 (primary_key.IsValid() && found_primary_key->Equals(primary_key)))
126 const IndexedDBKey& primary_key, // makes a copy
148 keys.second.push_back(primary_key);
159 primary_key,
31 VerifyIndexKeys( IndexedDBBackingStore* backing_store, IndexedDBBackingStore::Transaction* transaction, int64 database_id, int64 object_store_id, int64 index_id, bool* can_add_keys, const IndexedDBKey& primary_key, base::string16* error_message) const argument
89 AddingKeyAllowed( IndexedDBBackingStore* backing_store, IndexedDBBackingStore::Transaction* transaction, int64 database_id, int64 object_store_id, int64 index_id, const IndexedDBKey& index_key, const IndexedDBKey& primary_key, bool* allowed) const argument
121 MakeIndexWriters( IndexedDBTransaction* transaction, IndexedDBBackingStore* backing_store, int64 database_id, const IndexedDBObjectStoreMetadata& object_store, const IndexedDBKey& primary_key, bool key_was_generated, const std::vector<IndexedDBDatabase::IndexKeys>& index_keys, ScopedVector<IndexWriter>* index_writers, base::string16* error_message, bool* completed) argument
H A Dindexed_db_callbacks.cc345 const IndexedDBKey& primary_key,
362 params->primary_key = primary_key;
386 const IndexedDBKey& primary_key,
409 params->primary_key = primary_key;
515 params->primary_key = key;
343 OnSuccess(scoped_refptr<IndexedDBCursor> cursor, const IndexedDBKey& key, const IndexedDBKey& primary_key, IndexedDBValue* value) argument
385 OnSuccess(const IndexedDBKey& key, const IndexedDBKey& primary_key, IndexedDBValue* value) argument
H A Dindexed_db_backing_store.h68 RecordIdentifier(const std::string& primary_key, int64 version);
72 const std::string& primary_key() const { return primary_key_; } function in class:content::IndexedDBBackingStore::RecordIdentifier
74 void Reset(const std::string& primary_key, int64 version) { argument
75 primary_key_ = primary_key;
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;
H A Dindexed_db_database.cc588 scoped_ptr<IndexedDBKey> primary_key; local
630 &primary_key);
640 if (!primary_key) {
646 callbacks->OnSuccess(*primary_key);
655 *primary_key,
673 callbacks->OnSuccess(&value, *primary_key, object_store_metadata.key_path);
900 scoped_ptr<IndexedDBKey> primary_key,
916 *primary_key,
946 *primary_key,
1123 cursor, cursor->key(), cursor->primary_key(), curso
898 SetIndexKeys(int64 transaction_id, int64 object_store_id, scoped_ptr<IndexedDBKey> primary_key, const std::vector<IndexKeys>& index_keys) argument
[all...]
H A Dindexed_db_dispatcher_host.cc709 make_scoped_ptr(new IndexedDBKey(params.primary_key)),
941 const IndexedDBKey& primary_key) {
952 primary_key.IsValid() ? make_scoped_ptr(new IndexedDBKey(primary_key))
936 OnContinue( int32 ipc_cursor_id, int32 ipc_thread_id, int32 ipc_callbacks_id, const IndexedDBKey& key, const IndexedDBKey& primary_key) argument
H A Dindexed_db_leveldb_coding.cc2033 scoped_ptr<IndexedDBKey> IndexDataKey::primary_key() const { function in class:content::IndexDataKey
H A Dindexed_db_backing_store.cc742 const std::string& primary_key,
744 : primary_key_(primary_key), version_(version) {
745 DCHECK(!primary_key.empty());
1979 database_id, object_store_id, record_identifier.primary_key());
1987 database_id, object_store_id, record_identifier.primary_key());
2427 std::string primary_key = BlobJournalKey::Encode(); local
2429 if (!GetBlobJournal(primary_key, transaction.get(), &primary_journal).ok())
2835 record_identifier.primary_key(),
2840 data.append(record_identifier.primary_key());
2968 scoped_ptr<IndexedDBKey>* primary_key) {
741 RecordIdentifier( const std::string& primary_key, int64 version) argument
2962 GetPrimaryKeyViaIndex( IndexedDBBackingStore::Transaction* transaction, int64 database_id, int64 object_store_id, int64 index_id, const IndexedDBKey& key, scoped_ptr<IndexedDBKey>* primary_key) argument
3090 Continue(const IndexedDBKey* key, const IndexedDBKey* primary_key, IteratorState next_state, leveldb::Status* s) argument
3244 const IndexedDBKey& IndexedDBBackingStore::Cursor::primary_key() const { function in class:content::IndexedDBBackingStore::Cursor
[all...]
/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor_tables.h54 std::string primary_key; member in struct:predictors::ResourcePrefetchPredictorTables::ResourceRow
77 PrefetchData(PrefetchKeyType key_type, const std::string& primary_key);
86 std::string primary_key; // is_host() ? main frame url : host. member in struct:predictors::ResourcePrefetchPredictorTables::PrefetchData
H A Dresource_prefetch_predictor_tables.cc29 const std::string& primary_key,
31 statement->BindString(0, primary_key);
46 row->primary_key = statement->ColumnString(0);
75 : primary_key(other.primary_key),
93 : primary_key(i_primary_key),
123 return primary_key == rhs.primary_key &&
142 primary_key(i_primary_key) {
148 primary_key(othe
27 BindResourceRowToStatement( const predictors::ResourcePrefetchPredictorTables::ResourceRow& row, const std::string& primary_key, Statement* statement) argument
267 std::string primary_key = row.primary_key; local
295 std::string primary_key = metadata_reader.ColumnString(0); local
[all...]
/external/chromium_org/content/child/indexed_db/
H A Dwebidbcursor_impl.cc67 const WebIDBKey& primary_key,
74 primary_key.keyType() == blink::WebIDBKeyTypeNull) {
103 IndexedDBKeyBuilder::Build(primary_key),
162 IndexedDBKey primary_key = prefetch_primary_keys_.front(); local
183 WebIDBKeyBuilder::Build(primary_key),
66 continueFunction(const WebIDBKey& key, const WebIDBKey& primary_key, WebIDBCallbacks* callbacks_ptr) argument
H A Dwebidbdatabase_impl.cc144 const WebIDBKey& primary_key,
151 params.primary_key = IndexedDBKeyBuilder::Build(primary_key);
141 setIndexKeys( long long transaction_id, long long object_store_id, const WebIDBKey& primary_key, const WebVector<long long>& index_ids, const WebVector<WebIndexKeys>& index_keys) argument
H A Dindexed_db_dispatcher.cc190 const IndexedDBKey& primary_key,
201 ipc_cursor_id, CurrentWorkerId(), ipc_callbacks_id, key, primary_key));
584 WebIDBKeyBuilder::Build(params.primary_key),
616 const IndexedDBKey& primary_key = p.primary_key; local
636 WebIDBKeyBuilder::Build(primary_key),
649 const IndexedDBKey& primary_key = p.primary_key; local
664 WebIDBKeyBuilder::Build(primary_key),
188 RequestIDBCursorContinue( const IndexedDBKey& key, const IndexedDBKey& primary_key, WebIDBCallbacks* callbacks_ptr, int32 ipc_cursor_id, int64 transaction_id) argument

Completed in 309 milliseconds