Home | History | Annotate | Download | only in glue

Lines Matching refs:new_url

248         // Initialize fields in |new_url| to the same values as the fields in
253 history::URLRow new_url(*ix);
257 MergeUrls(typed_url, *ix, &visits, &new_url, &added_visits);
281 DCHECK_EQ(new_url.last_visit().ToInternalValue(),
283 WriteToSyncNode(new_url, visits, &write_node);
287 std::pair<history::URLID, history::URLRow>(ix->id(), new_url));
405 history::URLRow new_url(GURL(typed_url.url()));
407 bool existing_url = history_backend_->GetURL(new_url.url(), &new_url);
411 if (!FixupURLAndGetVisits(&new_url, &existing_visits)) {
415 DLOG(ERROR) << "Could not load visits for url: " << new_url.url();
420 new_url.url(), std::vector<history::VisitInfo>()));
423 UpdateURLRowFromTypedUrlSpecifics(typed_url, &new_url);
431 std::pair<history::URLID, history::URLRow>(new_url.id(), new_url));
433 new_urls->push_back(new_url);
561 history::URLRow* new_url,
563 DCHECK(new_url);
565 DCHECK(!node.url().compare(new_url->url().spec()));
589 new_url->set_title(node_title);
590 new_url->set_hidden(node.hidden());
593 new_url->set_title(url.title());
594 new_url->set_hidden(url.hidden());
599 new_url->set_title(url.title());
600 new_url->set_hidden(url.hidden());
668 new_url->set_last_visit(visits->back().visit_time);
773 const sync_pb::TypedUrlSpecifics& new_url,
778 size_t new_visit_count = new_url.visits_size();
783 base::Time::FromInternalValue(new_url.visits(new_index));
797 new_url.visit_transitions(new_index))));
813 base::Time::FromInternalValue(new_url.visits(new_index)),
814 content::PageTransitionFromInt(new_url.visit_transitions(new_index))));
821 const sync_pb::TypedUrlSpecifics& typed_url, history::URLRow* new_url) {
824 new_url->set_title(UTF8ToUTF16(typed_url.title()));
825 new_url->set_hidden(typed_url.hidden());
828 if (new_url->last_visit().is_null()) {
829 new_url->set_last_visit(base::Time::FromInternalValue(