HomeSort by relevance Sort by last modified time
    Searched refs:top_sites (Results 1 - 25 of 28) sorted by null

1 2

  /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 83 void QueryTopSites(TopSitesImpl* top_sites, bool wait) {
85 top_sites->GetMostVisitedURLs(
170 return top_sites()->GetPageThumbnail(url, &data) ?
202 top_sites()->backend_->DoEmptyRequest(
208 TopSitesImpl* top_sites() { function in class:history::TopSitesImplTest
219 return top_sites()->GetPrepopulatePages();
302 return top_sites()->cache_->GetCanonicalURL(url);
306 top_sites()->SetTopSites(new_top_sites);
310 top_sites()->StartQueryForMostVisited();
314 top_sites()->last_num_urls_changed_ = value
    [all...]
top_sites_likely_impl_unittest.cc 83 void QueryTopSites(TopSitesLikelyImpl* top_sites, bool wait) {
85 top_sites->GetMostVisitedURLs(
170 return top_sites()->GetPageThumbnail(url, &data) ?
202 top_sites()->backend_->DoEmptyRequest(
209 TopSitesLikelyImpl* top_sites() { function in class:history::TopSitesLikelyImplTest
220 return top_sites()->GetPrepopulatePages();
303 return top_sites()->cache_->GetCanonicalURL(url);
307 top_sites()->SetTopSites(new_top_sites);
311 top_sites()->StartQueryForMostVisited();
315 top_sites()->last_num_urls_changed_ = value
    [all...]
top_sites_cache.h 23 void SetTopSites(const MostVisitedURLList& top_sites);
24 const MostVisitedURLList& top_sites() const { return top_sites_; } function in class:history::TopSitesCache
top_sites_impl.cc 92 LoadThumbnailsFromHistoryTask(TopSites* top_sites,
94 : top_sites_(top_sites),
286 filtered_urls = thread_safe_cache_->top_sites();
552 return loaded_ && cache_->top_sites().size() >= kTopSitesNumber;
566 cache_->top_sites()[cache_->GetURLIndex(url)];
600 const MostVisitedURL& most_visited = cache_->top_sites()[index];
707 if (cache_->top_sites().size() <= arraysize(kPrepopulatedPages))
712 last_num_urls_changed_ * range / cache_->top_sites().size();
738 MostVisitedURLList new_top_sites(cache_->top_sites());
769 MostVisitedURLList top_sites(new_top_sites)
    [all...]
top_sites_likely_impl.cc 92 LoadThumbnailsFromHistoryTask(TopSites* top_sites,
94 : top_sites_(top_sites),
286 filtered_urls = thread_safe_cache_->top_sites();
555 return loaded_ && cache_->top_sites().size() >= kTopSitesNumber;
569 cache_->top_sites()[cache_->GetURLIndex(url)];
603 const MostVisitedURL& most_visited = cache_->top_sites()[index];
711 if (cache_->top_sites().size() <= arraysize(kPrepopulatedPages))
716 last_num_urls_changed_ * range / cache_->top_sites().size();
742 MostVisitedURLList new_top_sites(cache_->top_sites());
773 MostVisitedURLList top_sites(new_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/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/search/
instant_service.cc 14 #include "chrome/browser/history/top_sites.h"
71 history::TopSites* top_sites = profile_->GetTopSites(); local
72 if (top_sites) {
75 content::Source<history::TopSites>(top_sites));
133 history::TopSites* top_sites = profile_->GetTopSites(); local
134 if (!top_sites)
137 top_sites->AddBlacklistedURL(url);
141 history::TopSites* top_sites = profile_->GetTopSites(); local
142 if (!top_sites)
145 top_sites->RemoveBlacklistedURL(url)
149 history::TopSites* top_sites = profile_->GetTopSites(); local
233 history::TopSites* top_sites = profile_->GetTopSites(); local
    [all...]
  /external/chromium_org/chrome/browser/android/
most_visited_sites.cc 12 #include "chrome/browser/history/top_sites.h"
105 scoped_refptr<TopSites> top_sites,
115 if (top_sites->GetPageThumbnail(gurl, &data)) {
150 TopSites* top_sites = profile->GetTopSites();
151 if (!top_sites)
156 top_sites->GetMostVisitedURLs(
179 scoped_refptr<TopSites> top_sites(profile->GetTopSites());
184 top_sites, base::Owned(j_callback_ref)));
194 TopSites* top_sites = profile->GetTopSites();
195 if (!top_sites)
    [all...]
dev_tools_server.cc 20 #include "chrome/browser/history/top_sites.h"
75 history::TopSites* top_sites = profile->GetTopSites(); variable
76 if (top_sites) {
78 if (top_sites->GetPageThumbnail(url, &data))
122 history::TopSites* top_sites = profile->GetTopSites(); local
123 if (top_sites)
124 top_sites->SyncWithHistory();
  /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, &current_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 25 #include "chrome/browser/history/top_sites.h"
225 history::MostVisitedURLList top_sites(data);
226 history::MostVisitedTilesExperiment::MaybeShuffle(&top_sites);
228 for (size_t i = 0; i < top_sites.size(); i++) {
229 const history::MostVisitedURL& url = top_sites[i];
281 history::TopSites* top_sites = Profile::FromWebUI(web_ui())->GetTopSites(); local
282 if (!tab_strip_model || !top_sites) {
288 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 12 #include "chrome/browser/history/top_sites.h"
77 history::TopSites* top_sites = profile->GetTopSites(); local
78 if (!top_sites)
81 if (top_sites->GetPageThumbnail(url, &data))
  /external/chromium_org/chrome/browser/ui/search/
instant_page.cc 11 #include "chrome/browser/history/top_sites.h"
326 history::TopSites* top_sites = profile_->GetTopSites(); local
327 if (!tab_strip_model || !top_sites) {
333 chrome::GetOpenUrls(*tab_strip_model, *top_sites, &open_urls);
  /external/chromium_org/chrome/test/perf/
generate_profile.cc 21 #include "chrome/browser/history/top_sites.h"
157 history::TopSites* top_sites = profile->GetTopSites(); local
194 if (types & TOP_SITES && top_sites) {
195 top_sites->SetPageThumbnailToJPEGBytes(
233 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(

Completed in 668 milliseconds

1 2