Lines Matching refs:url_id
329 URLID url_id = db_->GetRowForURL(url, NULL);
330 if (!url_id)
334 if (!(segment_id = db_->CreateSegment(url_id, segment_name))) {
342 db_->UpdateSegmentRepresentationURL(segment_id, url_id);
669 URLID url_id = db_->GetRowForURL(url, &url_info);
670 if (url_id) {
682 db_->UpdateURLRow(url_id, url_info);
690 url_id = db_->AddURL(url_info);
691 if (!url_id) {
695 url_info.id_ = url_id;
707 VisitRow visit_info(url_id, time, referring_visit, transition, 0);
724 << "url_id = " << url_id;
727 return std::make_pair(url_id, visit_id);
755 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url);
756 if (!url_id) {
758 url_id = url_database->AddURL(*i);
759 if (!url_id) {
783 has_indexed = text_database_->AddPageData(i->url(), url_id, 0,
789 VisitRow visit_info(url_id, i->last_visit(), 0,
881 URLID url_id = db_->GetRowForURL(url, &url_info);
882 if (url_id) {
949 url_visits_removed.find(visit->url_id);
951 url_visits_removed[visit->url_id] = 1;
1207 if (!url_db->GetURLRow(visit.url_id, &url_result)) {
1208 VLOG(0) << "Failed to get id " << visit.url_id
1215 << visit.url_id << ": "
1493 URLID url_id = db_->GetRowForURL(url, &url_row);
1494 if (url_id) {
1495 thumbnail_db_->SetPageThumbnail(url, url_id, thumbnail, score,
1525 URLID url_id;
1532 if ((url_id = db_->GetRowForURL(redirects.back(), NULL)))
1533 success = thumbnail_db_->GetPageThumbnail(url_id, &(*data)->data);
1538 if ((url_id = db_->GetRowForURL(page_url, NULL)))
1539 success = thumbnail_db_->GetPageThumbnail(url_id, &(*data)->data);
1590 URLID url_id;
1591 if ((url_id = db_->GetRowForURL(redirects.back(), NULL)))
1592 success = thumbnail_db_->GetPageThumbnail(url_id, data);