Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: chrome/browser/history/history_backend.h

Issue 351053003: Port HistoryService::QueryFilteredURLs to CancelableRequestTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // Request the |result_count| most visited URLs and the chain of 175 // Request the |result_count| most visited URLs and the chain of
176 // redirects leading to each of these URLs. |days_back| is the 176 // redirects leading to each of these URLs. |days_back| is the
177 // number of days of history to use. Used by TopSites. 177 // number of days of history to use. Used by TopSites.
178 void QueryMostVisitedURLs(int result_count, 178 void QueryMostVisitedURLs(int result_count,
179 int days_back, 179 int days_back,
180 MostVisitedURLList* result); 180 MostVisitedURLList* result);
181 181
182 // Request the |result_count| URLs and the chain of redirects 182 // Request the |result_count| URLs and the chain of redirects
183 // leading to each of these URLs, filterd and sorted based on the |filter|. 183 // leading to each of these URLs, filterd and sorted based on the |filter|.
184 // If |debug| is enabled, additional data will be computed and provided. 184 // If |debug| is enabled, additional data will be computed and provided.
185 void QueryFilteredURLs( 185 void QueryFilteredURLs(int result_count,
186 scoped_refptr<QueryFilteredURLsRequest> request, 186 const history::VisitFilter& filter,
187 int result_count, 187 bool debug,
188 const history::VisitFilter& filter, 188 history::FilteredURLList* result);
189 bool debug);
190 189
191 // Favicon ------------------------------------------------------------------- 190 // Favicon -------------------------------------------------------------------
192 191
193 void GetFavicons( 192 void GetFavicons(
194 const std::vector<GURL>& icon_urls, 193 const std::vector<GURL>& icon_urls,
195 int icon_types, 194 int icon_types,
196 const std::vector<int>& desired_sizes, 195 const std::vector<int>& desired_sizes,
197 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results); 196 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
198 197
199 void GetLargestFaviconForURL( 198 void GetLargestFaviconForURL(
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 848
850 // Listens for the system being under memory pressure. 849 // Listens for the system being under memory pressure.
851 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; 850 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;
852 851
853 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 852 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
854 }; 853 };
855 854
856 } // namespace history 855 } // namespace history
857 856
858 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 857 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/history_backend.cc » ('j') | chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698