Lines Matching refs:cur_visit
1400 VisitID cur_visit, history::RedirectList* redirects) {
1406 visit_set.insert(cur_visit);
1407 while (db_->GetRedirectFromVisit(cur_visit, &cur_visit, &cur_url)) {
1408 if (visit_set.find(cur_visit) != visit_set.end()) {
1412 visit_set.insert(cur_visit);
1418 VisitID cur_visit,
1420 // Follow redirects going to cur_visit. These are added to |redirects| in
1422 // |cur_visit| = C, redirects will be {B, A} in that order.
1428 visit_set.insert(cur_visit);
1429 while (db_->GetRedirectToVisit(cur_visit, &cur_visit, &cur_url)) {
1430 if (visit_set.find(cur_visit) != visit_set.end()) {
1434 visit_set.insert(cur_visit);
1447 VisitID cur_visit = db_->GetMostRecentVisitForURL(from_url_id, NULL);
1448 if (!cur_visit)
1451 GetRedirectsFromSpecificVisit(cur_visit, redirects);
1463 VisitID cur_visit = db_->GetMostRecentVisitForURL(to_url_id, NULL);
1464 if (!cur_visit)
1467 GetRedirectsToSpecificVisit(cur_visit, redirects);