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

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: Addressed comment Created 8 years, 7 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
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // redirects leading to each of these URLs. |days_back| is the 188 // redirects leading to each of these URLs. |days_back| is the
189 // number of days of history to use. Used by TopSites. 189 // number of days of history to use. Used by TopSites.
190 void QueryMostVisitedURLs( 190 void QueryMostVisitedURLs(
191 scoped_refptr<QueryMostVisitedURLsRequest> request, 191 scoped_refptr<QueryMostVisitedURLsRequest> request,
192 int result_count, 192 int result_count,
193 int days_back); 193 int days_back);
194 194
195 // Request the |result_count| URLs and the chain of redirects 195 // Request the |result_count| URLs and the chain of redirects
196 // leading to each of these URLs, filterd and sorted based on the |filter|. 196 // leading to each of these URLs, filterd and sorted based on the |filter|.
197 void QueryFilteredURLs( 197 void QueryFilteredURLs(
198 scoped_refptr<QueryMostVisitedURLsRequest> request, 198 scoped_refptr<QueryFilteredURLsRequest> request,
199 int result_count, 199 int result_count,
200 const history::VisitFilter& filter); 200 const history::VisitFilter& filter);
201 201
202 // QueryMostVisitedURLs without the request. 202 // QueryMostVisitedURLs without the request.
203 void QueryMostVisitedURLsImpl(int result_count, 203 void QueryMostVisitedURLsImpl(int result_count,
204 int days_back, 204 int days_back,
205 MostVisitedURLList* result); 205 MostVisitedURLList* result);
206 206
207 // Computes the most recent URL(s) that the given canonical URL has 207 // Computes the most recent URL(s) that the given canonical URL has
208 // redirected to and returns true on success. There may be more than one 208 // redirected to and returns true on success. There may be more than one
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 // Publishes the history to all indexers which are registered to receive 684 // Publishes the history to all indexers which are registered to receive
685 // history data from us. Can be NULL if there are no listeners. 685 // history data from us. Can be NULL if there are no listeners.
686 scoped_ptr<HistoryPublisher> history_publisher_; 686 scoped_ptr<HistoryPublisher> history_publisher_;
687 687
688 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 688 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
689 }; 689 };
690 690
691 } // namespace history 691 } // namespace history
692 692
693 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 693 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698