/external/chromium/chrome/browser/ui/webui/ |
H A D | thumbnail_source.cc | 18 top_sites_(profile->GetTopSites()) { 28 if (top_sites_->GetPageThumbnail(GURL(path), &data)) { 45 return top_sites_.get() ? NULL : DataSource::MessageLoopForRequestPath(path);
|
H A D | thumbnail_source.h | 49 scoped_refptr<history::TopSites> top_sites_; member in class:ThumbnailSource
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | thumbnail_service_impl.cc | 48 : 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 D | thumbnail_service_impl.h | 42 scoped_refptr<history::TopSites> top_sites_; member in class:thumbnails::ThumbnailServiceImpl
|
/external/chromium_org/chrome/browser/history/ |
H A D | top_sites_cache_unittest.cc | 26 // 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 D | top_sites_cache.cc | 33 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 D | top_sites_cache.h | 48 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 D | expire_history_backend_unittest.cc | 113 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 D | top_sites_cache.cc | 19 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 D | top_sites_cache.h | 28 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 D | expire_history_backend_unittest.cc | 114 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 D | top_sites.cc | 79 : 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 D | global_history_menu.cc | 99 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 D | global_history_menu.h | 111 history::TopSites* top_sites_; member in class:GlobalHistoryMenu
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | global_menu_bar_x11.cc | 323 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 D | global_menu_bar_x11.h | 156 history::TopSites* top_sites_; member in class:GlobalMenuBarX11
|
/external/chromium_org/chrome/test/base/ |
H A D | testing_profile.cc | 479 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 D | testing_profile.h | 385 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. member in class:TestingProfile
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_impl.cc | 694 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 D | profile_impl.h | 249 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. member in class:ProfileImpl
|
/external/chromium/chrome/browser/profiles/ |
H A D | profile_impl.cc | 625 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 D | profile_impl.h | 297 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. member in class:ProfileImpl
|
/external/chromium_org/chrome/browser/android/provider/ |
H A D | chrome_browser_provider.h | 191 history::TopSites* top_sites_; member in class:ChromeBrowserProvider
|
/external/chromium/chrome/browser/automation/ |
H A D | automation_provider_observers.cc | 1891 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 D | automation_provider_observers.cc | 1798 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();
|