/external/chromium/chrome/browser/history/ |
top_sites_unittest.cc | 18 #include "chrome/browser/history/top_sites.h" 68 void QueryTopSites(TopSites* top_sites, bool wait) { 70 top_sites->GetMostVisitedURLs( 158 return top_sites()->GetPageThumbnail(url, &data) ? 190 top_sites()->backend_->DoEmptyRequest( 196 TopSites* top_sites() { return profile_->GetTopSites(); } function in class:history::TopSitesTest 283 return top_sites()->cache_->GetCanonicalURL(url); 287 top_sites()->SetTopSites(new_top_sites); 291 top_sites()->StartQueryForMostVisited(); 300 top_sites()->last_num_urls_changed_ = value [all...] |
top_sites_cache.h | 27 void SetTopSites(const MostVisitedURLList& top_sites); 28 const MostVisitedURLList& top_sites() const { return top_sites_; } function in class:history::TopSitesCache
|
top_sites.cc | 5 #include "chrome/browser/history/top_sites.h" 77 LoadThumbnailsFromHistoryTask(TopSites* top_sites, 79 : top_sites_(top_sites), 241 filtered_urls = thread_safe_cache_->top_sites(); 516 return loaded_ && cache_->top_sites().size() >= kTopSitesNumber; 529 cache_->top_sites()[cache_->GetURLIndex(url)]; 562 const MostVisitedURL& most_visited = cache_->top_sites()[index]; 746 if (cache_->top_sites().size() <= arraysize(kPrepopulateTitleIDs)) 751 last_num_urls_changed_ * range / cache_->top_sites().size(); 790 MostVisitedURLList new_top_sites(cache_->top_sites()); [all...] |
top_sites_cache.cc | 18 void TopSitesCache::SetTopSites(const MostVisitedURLList& top_sites) { 19 top_sites_ = top_sites;
|
/external/chromium/chrome/browser/tab_contents/ |
thumbnail_generator_unittest.cc | 7 #include "chrome/browser/history/top_sites.h" 331 scoped_refptr<MockTopSites> top_sites(new MockTopSites(&profile)); 335 &profile, top_sites.get(), kBadURL)); 339 &profile, top_sites.get(), kGoodURL)); 344 &profile, top_sites.get(), kGoodURL)); 349 &profile, top_sites.get(), kGoodURL)); 354 top_sites->AddKnownURL(kGoodURL, bad_score); 355 ASSERT_TRUE(top_sites->IsFull()); 361 &profile, top_sites.get(), kAnotherGoodURL)); 365 &profile, top_sites.get(), kGoodURL)) [all...] |
thumbnail_generator.cc | 15 #include "chrome/browser/history/top_sites.h" 441 history::TopSites* top_sites = tab_contents->profile()->GetTopSites(); local 443 if (!ShouldUpdateThumbnail(tab_contents->profile(), top_sites, url)) 463 top_sites->SetPageThumbnail(url, thumbnail, score); 468 history::TopSites* top_sites, 470 if (!profile || !top_sites) 479 if (top_sites->IsFull() && !top_sites->IsKnownURL(url)) 483 if (top_sites->GetPageThumbnailScore(url, ¤t_score) && 489 if (top_sites->GetTemporaryPageThumbnailScore(url, &temporary_score) & [all...] |
thumbnail_generator.h | 122 history::TopSites* top_sites,
|
/external/chromium/chrome/browser/automation/ |
testing_automation_provider.cc | 52 #include "chrome/browser/history/top_sites.h" 4534 history::TopSites* top_sites = browser->profile()->GetTopSites(); local 4559 history::TopSites* top_sites = browser->profile()->GetTopSites(); local 4578 history::TopSites* top_sites = browser->profile()->GetTopSites(); local 4592 history::TopSites* top_sites = browser->profile()->GetTopSites(); local [all...] |