Searched refs:top_sites (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/components/history/core/browser/
H A Dtop_sites_observer.h15 virtual void TopSitesLoaded(history::TopSites* top_sites) = 0;
19 virtual void TopSitesChanged(history::TopSites* top_sites) = 0;
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model_utils.cc7 #include "chrome/browser/history/top_sites.h"
14 const history::TopSites& top_sites,
19 urls->insert(top_sites.GetCanonicalURLString(web_contents->GetURL()));
13 GetOpenUrls(const TabStripModel& tabs, const history::TopSites& top_sites, std::set<std::string>* urls) argument
H A Dtab_strip_model_utils.h21 const history::TopSites& top_sites,
/external/chromium_org/chrome/browser/history/
H A Dchrome_history_client.h26 history::TopSites* top_sites);
41 virtual void TopSitesLoaded(history::TopSites* top_sites) OVERRIDE;
42 virtual void TopSitesChanged(history::TopSites* top_sites) OVERRIDE;
H A Dchrome_history_client.cc10 #include "chrome/browser/history/top_sites.h"
20 history::TopSites* top_sites)
23 top_sites_(top_sites) {
84 void ChromeHistoryClient::TopSitesLoaded(history::TopSites* top_sites) { argument
88 content::Details<history::TopSites>(top_sites));
91 void ChromeHistoryClient::TopSitesChanged(history::TopSites* top_sites) { argument
94 content::Source<history::TopSites>(top_sites),
18 ChromeHistoryClient(BookmarkModel* bookmark_model, Profile* profile, history::TopSites* top_sites) argument
H A Dtop_sites_impl_unittest.cc16 #include "chrome/browser/history/top_sites.h"
34 explicit TestTopSitesObserver(Profile* profile, history::TopSites* top_sites);
37 virtual void TopSitesLoaded(history::TopSites* top_sites) OVERRIDE;
38 virtual void TopSitesChanged(history::TopSites* top_sites) OVERRIDE;
50 history::TopSites* top_sites)
51 : profile_(profile), top_sites_(top_sites) {
56 void TestTopSitesObserver::TopSitesLoaded(history::TopSites* top_sites) { argument
60 content::Details<history::TopSites>(top_sites));
63 void TestTopSitesObserver::TopSitesChanged(history::TopSites* top_sites) { argument
106 void QueryTopSites(TopSitesImpl* top_sites, boo argument
49 TestTopSitesObserver(Profile* profile, history::TopSites* top_sites) argument
112 QueryAllTopSites(TopSitesImpl* top_sites, bool wait, bool include_forced_urls) argument
242 TopSitesImpl* top_sites() { function in class:history::TopSitesImplTest
[all...]
H A Dtop_sites_cache.h45 // 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
H A Dtop_sites_impl.cc225 filtered_urls = thread_safe_cache_->top_sites();
227 filtered_urls.assign(thread_safe_cache_->top_sites().begin() +
229 thread_safe_cache_->top_sites().end());
493 cache_->top_sites()[cache_->GetURLIndex(url)];
528 const MostVisitedURL& most_visited = cache_->top_sites()[index];
610 MostVisitedURLList new_list(cache_->top_sites());
671 if (all_new_urls.find(cache_->top_sites()[i].url) == all_new_urls.end())
672 filtered_forced_urls.push_back(cache_->top_sites()[i]);
730 if (cache_->top_sites().size() <= arraysize(kPrepopulatedPages))
735 last_num_urls_changed_ * range / cache_->top_sites()
[all...]
H A Dtop_sites_cache.cc32 void TopSitesCache::SetTopSites(const MostVisitedURLList& top_sites) { argument
33 top_sites_ = top_sites;
/external/chromium_org/chrome/browser/precache/
H A Dmost_visited_urls_provider.cc10 #include "chrome/browser/history/top_sites.h"
35 MostVisitedURLsProvider::MostVisitedURLsProvider(history::TopSites* top_sites) argument
36 : top_sites_(top_sites) {}
H A Dmost_visited_urls_provider.h22 explicit MostVisitedURLsProvider(history::TopSites* top_sites);
/external/chromium_org/chrome/browser/extensions/api/top_sites/
H A Dtop_sites_apitest.cc7 #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/android/
H A Dmost_visited_sites.cc22 #include "chrome/browser/history/top_sites.h"
109 void AddForcedURLOnUIThread(scoped_refptr<history::TopSites> top_sites, argument
112 top_sites->AddForcedURL(url, base::Time::Now());
118 scoped_refptr<TopSites> top_sites,
130 if (top_sites->GetPageThumbnail(gurl, false, &data)) {
142 base::Bind(AddForcedURLOnUIThread, top_sites, gurl));
235 history::TopSites* top_sites = profile_->GetTopSites(); local
236 if (top_sites) {
239 top_sites->SyncWithHistory();
244 content::Source<history::TopSites>(top_sites));
116 GetUrlThumbnailTask( std::string url_string, scoped_refptr<TopSites> top_sites, ScopedJavaGlobalRef<jobject>* j_callback, MostVisitedSites::LookupSuccessCallback lookup_success_ui_callback, base::Closure lookup_failed_ui_callback) argument
292 TopSites* top_sites = profile_->GetTopSites(); local
379 TopSites* top_sites = profile_->GetTopSites(); local
[all...]
H A Ddev_tools_server.cc23 #include "chrome/browser/history/top_sites.h"
126 history::TopSites* top_sites = profile->GetTopSites(); local
127 if (top_sites)
128 top_sites->SyncWithHistory();
H A Ddev_tools_manager_delegate_android.cc13 #include "chrome/browser/history/top_sites.h"
340 history::TopSites* top_sites = profile->GetTopSites(); local
341 if (top_sites) {
343 if (top_sites->GetPageThumbnail(url, false, &data))
/external/chromium_org/chrome/browser/devtools/
H A Dchrome_devtools_manager_delegate.cc10 #include "chrome/browser/history/top_sites.h"
53 history::TopSites* top_sites = profile->GetTopSites(); local
54 if (!top_sites)
57 if (top_sites->GetPageThumbnail(url, false, &data))
/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnail_service_impl.cc35 void AddForcedURLOnUIThread(scoped_refptr<history::TopSites> top_sites, argument
39 if (top_sites.get() != NULL)
40 top_sites->AddForcedURL(url, base::Time::Now());
/external/chromium_org/chrome/browser/search/
H A Dinstant_service.cc8 #include "chrome/browser/history/top_sites.h"
93 history::TopSites* top_sites = profile_->GetTopSites(); local
94 if (top_sites) {
97 content::Source<history::TopSites>(top_sites));
162 history::TopSites* top_sites = profile_->GetTopSites(); local
163 if (!top_sites)
166 top_sites->AddBlacklistedURL(url);
170 history::TopSites* top_sites = profile_->GetTopSites(); local
171 if (!top_sites)
174 top_sites
178 history::TopSites* top_sites = profile_->GetTopSites(); local
223 history::TopSites* top_sites = profile_->GetTopSites(); local
[all...]
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dsuggestions_page_handler.cc19 #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));
H A Dmost_visited_handler.cc24 #include "chrome/browser/history/top_sites.h"
217 history::MostVisitedURLList top_sites(data);
218 for (size_t i = 0; i < top_sites.size(); i++) {
219 const history::MostVisitedURL& url = top_sites[i];
/external/chromium_org/chrome/browser/
H A Djumplist_win.cc20 #include "chrome/browser/history/top_sites.h"
205 history::TopSites* top_sites = profile_->GetTopSites(); local
206 if (top_sites) {
210 top_sites->SyncWithHistory();
215 content::Source<history::TopSites>(top_sites));
244 history::TopSites* top_sites = profile_->GetTopSites(); local
245 if (top_sites) {
246 top_sites->GetMostVisitedURLs(
/external/chromium_org/chrome/test/base/
H A Dtesting_profile.cc32 #include "chrome/browser/history/top_sites.h"
115 virtual void TopSitesLoaded(history::TopSites* top_sites) OVERRIDE {
118 virtual void TopSitesChanged(history::TopSites* top_sites) OVERRIDE {}
/external/chromium_org/chrome/browser/ui/
H A Dbrowser.cc62 #include "chrome/browser/history/top_sites.h"
1859 history::TopSites* top_sites = profile_->GetTopSites(); local
1860 if (!top_sites) // NULL for Incognito profiles.
1864 chrome::GetOpenUrls(*tab_strip_model_, *top_sites, &open_urls);

Completed in 6779 milliseconds