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

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

Issue 10115001: Added page score to the ntp suggestions tab. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // redirects leading to each of these URLs. |days_back| is the 185 // redirects leading to each of these URLs. |days_back| is the
186 // number of days of history to use. Used by TopSites. 186 // number of days of history to use. Used by TopSites.
187 void QueryMostVisitedURLs( 187 void QueryMostVisitedURLs(
188 scoped_refptr<QueryMostVisitedURLsRequest> request, 188 scoped_refptr<QueryMostVisitedURLsRequest> request,
189 int result_count, 189 int result_count,
190 int days_back); 190 int days_back);
191 191
192 // Request the |result_count| URLs and the chain of redirects 192 // Request the |result_count| URLs and the chain of redirects
193 // leading to each of these URLs, filterd and sorted based on the |filter|. 193 // leading to each of these URLs, filterd and sorted based on the |filter|.
194 void QueryFilteredURLs( 194 void QueryFilteredURLs(
195 scoped_refptr<QueryMostVisitedURLsRequest> request, 195 scoped_refptr<QueryFilteredURLsRequest> request,
196 int result_count, 196 int result_count,
197 const history::VisitFilter& filter); 197 const history::VisitFilter& filter);
198 198
199 // QueryMostVisitedURLs without the request. 199 // QueryMostVisitedURLs without the request.
200 void QueryMostVisitedURLsImpl(int result_count, 200 void QueryMostVisitedURLsImpl(int result_count,
201 int days_back, 201 int days_back,
202 MostVisitedURLList* result); 202 MostVisitedURLList* result);
203 203
204 // Computes the most recent URL(s) that the given canonical URL has 204 // Computes the most recent URL(s) that the given canonical URL has
205 // redirected to and returns true on success. There may be more than one 205 // redirected to and returns true on success. There may be more than one
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 // Publishes the history to all indexers which are registered to receive 678 // Publishes the history to all indexers which are registered to receive
679 // history data from us. Can be NULL if there are no listeners. 679 // history data from us. Can be NULL if there are no listeners.
680 scoped_ptr<HistoryPublisher> history_publisher_; 680 scoped_ptr<HistoryPublisher> history_publisher_;
681 681
682 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 682 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
683 }; 683 };
684 684
685 } // namespace history 685 } // namespace history
686 686
687 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 687 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698