/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/chrome/browser/history/ |
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_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...] |
/external/chromium_org/chrome/browser/history/ |
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_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...] |
/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/browser/ui/webui/ntp/ |
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));
|
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);
|
/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/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/chrome/browser/tab_contents/ |
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...] |
/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/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_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...] |