/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_org/chrome/browser/ui/tabs/ |
tab_strip_model_utils.cc | 7 #include "chrome/browser/history/top_sites.h" 24 const history::TopSites& top_sites, 29 urls->insert(top_sites.GetCanonicalURLString(web_contents->GetURL()));
|
tab_strip_model_utils.h | 25 const history::TopSites& top_sites,
|
/external/chromium_org/chrome/browser/history/ |
top_sites_impl_unittest.cc | 64 void QueryTopSites(TopSitesImpl* top_sites, bool wait) { 65 QueryAllTopSites(top_sites, wait, false); 70 void QueryAllTopSites(TopSitesImpl* top_sites, 74 top_sites->GetMostVisitedURLs( 160 return top_sites()->GetPageThumbnail(url, false, &data) ? 192 top_sites()->backend_->DoEmptyRequest( 198 TopSitesImpl* top_sites() { function in class:history::TopSitesImplTest 209 return top_sites()->GetPrepopulatePages(); 292 return top_sites()->cache_->GetCanonicalURL(url); 296 top_sites()->SetTopSites(new_top_sites) [all...] |
top_sites_cache.h | 45 // Set the top sites. In |top_sites| all forced URLs must appear before 47 void SetTopSites(const MostVisitedURLList& top_sites); 48 const MostVisitedURLList& top_sites() const { return top_sites_; } function in class:history::TopSitesCache
|
top_sites_impl.cc | 228 filtered_urls = thread_safe_cache_->top_sites(); 230 filtered_urls.assign(thread_safe_cache_->top_sites().begin() + 232 thread_safe_cache_->top_sites().end()); 496 cache_->top_sites()[cache_->GetURLIndex(url)]; 531 const MostVisitedURL& most_visited = cache_->top_sites()[index]; 613 MostVisitedURLList new_list(cache_->top_sites()); 672 if (all_new_urls.find(cache_->top_sites()[i].url) == all_new_urls.end()) 673 filtered_forced_urls.push_back(cache_->top_sites()[i]); 731 if (cache_->top_sites().size() <= arraysize(kPrepopulatedPages)) 736 last_num_urls_changed_ * range / cache_->top_sites().size() [all...] |
top_sites_cache.cc | 32 void TopSitesCache::SetTopSites(const MostVisitedURLList& top_sites) { 33 top_sites_ = top_sites;
|
/external/chromium_org/chrome/browser/android/ |
most_visited_sites.cc | 13 #include "chrome/browser/history/top_sites.h" 85 scoped_refptr<TopSites> top_sites, 95 if (top_sites->GetPageThumbnail(gurl, false, &data)) { 137 history::TopSites* top_sites = profile_->GetTopSites(); local 138 if (top_sites) { 141 top_sites->SyncWithHistory(); 146 content::Source<history::TopSites>(top_sites)); 160 scoped_refptr<TopSites> top_sites(profile_->GetTopSites()); 165 top_sites, base::Owned(j_callback))); 171 TopSites* top_sites = profile_->GetTopSites() local 194 TopSites* top_sites = profile_->GetTopSites(); local [all...] |
dev_tools_server.cc | 23 #include "chrome/browser/history/top_sites.h" 284 history::TopSites* top_sites = profile->GetTopSites(); variable 285 if (top_sites) { 287 if (top_sites->GetPageThumbnail(url, false, &data)) 373 history::TopSites* top_sites = profile->GetTopSites(); local 374 if (top_sites) 375 top_sites->SyncWithHistory();
|
/external/chromium_org/chrome/browser/extensions/api/top_sites/ |
top_sites_apitest.cc | 7 #include "chrome/browser/extensions/api/top_sites/top_sites_api.h" 9 #include "chrome/browser/history/top_sites.h" 26 history::TopSites* top_sites = browser()->profile()->GetTopSites(); variable 31 top_sites->GetMostVisitedURLs(
|
/external/chromium_org/chrome/browser/thumbnails/ |
thumbnail_service_impl.cc | 35 void AddForcedURLOnUIThread(scoped_refptr<history::TopSites> top_sites, 39 if (top_sites.get() != NULL) 40 top_sites->AddForcedURL(url, base::Time::Now());
|
/external/chromium_org/chrome/browser/search/ |
instant_service.cc | 15 #include "chrome/browser/history/top_sites.h" 86 history::TopSites* top_sites = profile_->GetTopSites(); local 87 if (top_sites) { 90 content::Source<history::TopSites>(top_sites)); 159 history::TopSites* top_sites = profile_->GetTopSites(); local 160 if (!top_sites) 163 top_sites->AddBlacklistedURL(url); 167 history::TopSites* top_sites = profile_->GetTopSites(); local 168 if (!top_sites) 171 top_sites->RemoveBlacklistedURL(url) 175 history::TopSites* top_sites = profile_->GetTopSites(); local 252 history::TopSites* top_sites = profile_->GetTopSites(); local [all...] |
/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_org/chrome/browser/ui/webui/ntp/ |
most_visited_handler.cc | 26 #include "chrome/browser/history/top_sites.h" 229 history::MostVisitedURLList top_sites(data); 230 history::MostVisitedTilesExperiment::MaybeShuffle(&top_sites); 232 for (size_t i = 0; i < top_sites.size(); i++) { 233 const history::MostVisitedURL& url = top_sites[i]; 285 history::TopSites* top_sites = Profile::FromWebUI(web_ui())->GetTopSites(); local 286 if (!tab_strip_model || !top_sites) { 292 chrome::GetOpenUrls(*tab_strip_model, *top_sites, &open_urls);
|
suggestions_page_handler.cc | 20 #include "chrome/browser/history/top_sites.h" 72 history::TopSites* top_sites = profile->GetTopSites(); local 73 if (top_sites) { 77 top_sites->SyncWithHistory(); 82 content::Source<history::TopSites>(top_sites));
|
/external/chromium_org/chrome/browser/devtools/ |
browser_list_tabcontents_provider.cc | 10 #include "chrome/browser/history/top_sites.h" 76 history::TopSites* top_sites = profile->GetTopSites(); local 77 if (!top_sites) 80 if (top_sites->GetPageThumbnail(url, false, &data))
|
/external/chromium_org/chrome/test/perf/ |
generate_profile.cc | 21 #include "chrome/browser/history/top_sites.h" 137 history::TopSites* top_sites = profile->GetTopSites(); local 174 if (types & TOP_SITES && top_sites) { 175 top_sites->SetPageThumbnailToJPEGBytes( 213 if (types & TOP_SITES) {
|
/external/chromium_org/chrome/browser/ |
jumplist_win.cc | 31 #include "chrome/browser/history/top_sites.h" 499 history::TopSites* top_sites = profile_->GetTopSites(); local 500 if (top_sites) { 504 top_sites->SyncWithHistory(); 509 content::Source<history::TopSites>(top_sites)); 525 history::TopSites* top_sites = profile_->GetTopSites(); local 526 if (top_sites) { 527 top_sites->GetMostVisitedURLs(
|
/external/chromium_org/chrome/browser/ui/search/ |
search_tab_helper.cc | 15 #include "chrome/browser/history/top_sites.h" 390 history::TopSites* top_sites = profile->GetTopSites(); local 391 if (!tab_strip_model || !top_sites) { 397 chrome::GetOpenUrls(*tab_strip_model, *top_sites, &open_urls);
|
/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...] |