Home | History | Annotate | Download | only in history

Lines Matching refs:transitions

27 // searches of the transitions list. This transitions list is kept to a
40 TransitionList& transitions = *i->second;
55 // goes back). We can ignore future transitions because if you navigate, go
58 for (int i = static_cast<int>(transitions.size()) - 1; i >= 0; i--) {
59 if (transitions[i].page_id <= page_id && transitions[i].url == referrer) {
61 return transitions[i].visit_id;
73 TransitionList* transitions = hosts_[host];
74 if (!transitions) {
75 transitions = new TransitionList;
76 hosts_[host] = transitions;
83 transitions->push_back(t);
85 CleanupTransitionList(transitions);
98 void VisitTracker::CleanupTransitionList(TransitionList* transitions) {
99 if (transitions->size() <= kMaxItemsInTransitionList)
102 transitions->erase(transitions->begin(),
103 transitions->begin() + kResizeBigTransitionListTo);