Lines Matching refs:url_id
85 bool URLDatabase::GetURLRow(URLID url_id, URLRow* info) {
95 statement.BindInt64(0, url_id);
133 bool URLDatabase::UpdateURLRow(URLID url_id,
147 statement.BindInt64(5, url_id);
209 "DELETE FROM keyword_search_terms WHERE url_id=?"));
383 "url_id INTEGER NOT NULL," // ID of the url.
398 "keyword_search_terms (url_id)");
406 bool URLDatabase::SetKeywordSearchTermsForURL(URLID url_id,
409 DCHECK(url_id && keyword_id && !term.empty());
413 "WHERE keyword_id = ? AND url_id = ?"));
417 exist_statement.BindInt64(1, url_id);
422 "INSERT INTO keyword_search_terms (keyword_id, url_id, lower_term, term) "
428 statement.BindInt64(1, url_id);
434 bool URLDatabase::GetKeywordSearchTermRow(URLID url_id,
436 DCHECK(url_id);
438 "SELECT keyword_id, term FROM keyword_search_terms WHERE url_id=?"));
442 statement.BindInt64(0, url_id);
447 row->url_id = url_id;
481 "JOIN urls u ON kv.url_id = u.id "