Searched refs:top_sites_ (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium/chrome/browser/ui/webui/
H A Dthumbnail_source.cc18 top_sites_(profile->GetTopSites()) {
28 if (top_sites_->GetPageThumbnail(GURL(path), &data)) {
45 return top_sites_.get() ? NULL : DataSource::MessageLoopForRequestPath(path);
H A Dthumbnail_source.h49 scoped_refptr<history::TopSites> top_sites_; member in class:ThumbnailSource
/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnail_service_impl.cc48 : top_sites_(profile->GetTopSites()),
57 scoped_refptr<history::TopSites> local_ptr(top_sites_);
68 scoped_refptr<history::TopSites> local_ptr(top_sites_);
76 scoped_refptr<history::TopSites> local_ptr(top_sites_);
94 scoped_refptr<history::TopSites> local_ptr(top_sites_);
124 top_sites_ = NULL;
H A Dthumbnail_service_impl.h42 scoped_refptr<history::TopSites> top_sites_; member in class:thumbnails::ThumbnailServiceImpl
/external/chromium_org/chrome/browser/history/
H A Dtop_sites_cache_unittest.cc26 // Initializes |top_sites_| on |spec|, which is a list of URL strings with
30 // update |cache_| so you can manipulate |top_sites_| before you update it.
33 // Initializes |top_sites_| and |cache_| based on |spec|.
36 MostVisitedURLList top_sites_; member in class:history::__anon5387::TopSitesCacheTest
54 base::Uint64ToString16(top_sites_.size() + 1));
55 top_sites_.push_back(MostVisitedURL(GURL(spec_item), title));
57 ASSERT_TRUE(!top_sites_.empty());
59 top_sites_.back().redirects.push_back(GURL(spec_item));
65 cache_.SetTopSites(top_sites_);
248 top_sites_[
[all...]
H A Dtop_sites_cache.cc33 top_sites_ = top_sites;
124 return top_sites_.size() - num_forced_urls_;
133 while (num_forced_urls_ < top_sites_.size()) {
135 if (top_sites_[num_forced_urls_].last_forced_time.is_null())
141 for (size_t i = num_forced_urls_; i < top_sites_.size(); ++i) {
142 DCHECK(top_sites_[i].last_forced_time.is_null())
150 for (size_t i = 0; i < top_sites_.size(); i++)
151 StoreRedirectChain(top_sites_[i].redirects, i);
164 entry.first = &(top_sites_[destination]);
H A Dtop_sites_cache.h48 const MostVisitedURLList& top_sites() const { return top_sites_; }
80 // Returns the index into |top_sites_| for |url|.
119 // top_sites_), but this results in duplicating all redirect urls. As some
121 // index of the redirect as the key, and the index into top_sites_ as the
130 // Generates the set of canonical urls from |top_sites_|.
148 MostVisitedURLList top_sites_; member in class:history::TopSitesCache
H A Dexpire_history_backend_unittest.cc113 scoped_refptr<TopSites> top_sites_; member in class:history::ExpireHistoryTest
147 top_sites_ = profile_.GetTopSites();
151 top_sites_ = NULL;
233 top_sites_->SetPageThumbnail(url_row1.url(), thumbnail, score);
234 top_sites_->SetPageThumbnail(url_row2.url(), thumbnail, score);
235 top_sites_->SetPageThumbnail(url_row3.url(), thumbnail, score);
314 return top_sites_->GetPageThumbnail(url, false, &data);
/external/chromium/chrome/browser/history/
H A Dtop_sites_cache.cc19 top_sites_ = top_sites;
90 for (size_t i = 0; i < top_sites_.size(); i++)
91 StoreRedirectChain(top_sites_[i].redirects, i);
104 entry.first = &(top_sites_[destination]);
H A Dtop_sites_cache.h28 const MostVisitedURLList& top_sites() const { return top_sites_; }
58 // Returns the index into |top_sites_| for |url|.
80 // top_sites_), but this results in duplicating all redirect urls. As some
82 // index of the redirect as the key, and the index into top_sites_ as the
88 // Generates the set of canonical urls from |top_sites_|.
98 MostVisitedURLList top_sites_; member in class:history::TopSitesCache
H A Dexpire_history_backend_unittest.cc114 scoped_refptr<TopSites> top_sites_; member in class:history::ExpireHistoryTest
154 top_sites_ = profile_.GetTopSites();
158 top_sites_ = NULL;
235 top_sites_->SetPageThumbnail(url_row1.url(), *thumbnail, score);
236 top_sites_->SetPageThumbnail(url_row2.url(), *thumbnail, score);
237 top_sites_->SetPageThumbnail(url_row3.url(), *thumbnail, score);
338 return top_sites_->GetPageThumbnail(url, &data);
H A Dtop_sites.cc79 : top_sites_(top_sites),
106 top_sites_->FinishHistoryMigration(data_);
118 scoped_refptr<TopSites> top_sites_; member in class:history::__anon2245::LoadThumbnailsFromHistoryTask
780 std::set<size_t> indices_to_delete; // Indices into top_sites_.
/external/chromium_org/chrome/browser/ui/gtk/
H A Dglobal_history_menu.cc99 top_sites_(NULL),
130 top_sites_ = profile_->GetTopSites();
131 if (top_sites_) {
137 content::Source<history::TopSites>(top_sites_));
143 DCHECK(top_sites_);
145 top_sites_->GetMostVisitedURLs(
H A Dglobal_history_menu.h111 history::TopSites* top_sites_; member in class:GlobalHistoryMenu
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dglobal_menu_bar_x11.cc323 top_sites_(NULL),
414 top_sites_ = profile_->GetTopSites();
415 if (top_sites_) {
421 content::Source<history::TopSites>(top_sites_));
546 DCHECK(top_sites_);
548 top_sites_->GetMostVisitedURLs(
H A Dglobal_menu_bar_x11.h156 history::TopSites* top_sites_; member in class:GlobalMenuBarX11
/external/chromium_org/chrome/test/base/
H A Dtesting_profile.cc479 top_sites_ = history::TopSites::Create(
484 if (top_sites_.get()) {
485 top_sites_->Shutdown();
486 top_sites_ = NULL;
679 return top_sites_.get();
683 return top_sites_.get();
H A Dtesting_profile.h385 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. member in class:TestingProfile
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_impl.cc694 if (top_sites_.get())
695 top_sites_->Shutdown();
1010 if (!top_sites_.get()) {
1011 top_sites_ = history::TopSites::Create(
1014 return top_sites_.get();
1018 return top_sites_.get();
H A Dprofile_impl.h249 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. member in class:ProfileImpl
/external/chromium/chrome/browser/profiles/
H A Dprofile_impl.cc625 if (top_sites_.get())
626 top_sites_->Shutdown();
1230 if (!top_sites_.get()) {
1231 top_sites_ = new history::TopSites(this);
1232 top_sites_->Init(GetPath().Append(chrome::kTopSitesFilename));
1234 return top_sites_;
1238 return top_sites_;
H A Dprofile_impl.h297 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. member in class:ProfileImpl
/external/chromium_org/chrome/browser/android/provider/
H A Dchrome_browser_provider.h191 history::TopSites* top_sites_; member in class:ChromeBrowserProvider
/external/chromium/chrome/browser/automation/
H A Dautomation_provider_observers.cc1891 top_sites_ = automation_->profile()->GetTopSites();
1892 if (!top_sites_) {
1951 Source<history::TopSites>(top_sites_));
1952 if (top_sites_->loaded()) {
1970 top_sites_->GetMostVisitedURLs(
1978 request_ = top_sites_->StartQueryForMostVisited();
1996 dict->SetBoolean("is_pinned", top_sites_->IsURLPinned(visited.url));
/external/chromium_org/chrome/browser/automation/
H A Dautomation_provider_observers.cc1798 top_sites_ = automation_->profile()->GetTopSites();
1799 if (!top_sites_) {
1862 history::MostVisitedURLList urls = top_sites_->GetPrepopulatePages();
1870 content::Source<history::TopSites>(top_sites_));
1871 if (top_sites_->loaded()) {
1890 top_sites_->GetMostVisitedURLs(
1898 request_ = top_sites_->StartQueryForMostVisited();

Completed in 624 milliseconds

12