Lines Matching refs:most_visited
91 &data_.most_visited);
94 for (size_t i = 0; i < data_.most_visited.size(); ++i) {
95 const GURL& url = data_.most_visited[i].url;
301 SetTopSites(data.most_visited);
303 for (size_t i = 0; i < data.most_visited.size(); ++i) {
305 data.url_to_thumbnail_map.find(data.most_visited[i].url);
307 SetPageThumbnailEncoded(data.most_visited[i].url,
528 const MostVisitedURL& most_visited =
537 GetRedirectDistanceForURL(most_visited, url);
562 const MostVisitedURL& most_visited = cache_->top_sites()[index];
563 backend_->SetPageThumbnail(most_visited,
565 *(cache_->GetImage(most_visited.url)));
617 int TopSites::GetRedirectDistanceForURL(const MostVisitedURL& most_visited,
619 for (size_t i = 0; i < most_visited.redirects.size(); i++) {
620 if (most_visited.redirects[i] == url)
621 return static_cast<int>(most_visited.redirects.size() - i - 1);
946 cache_->SetTopSites(data->most_visited);
947 SetTopSites(data->most_visited);