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

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

Issue 6990074: Change GetVisitCountToHost() to GetVisibleVisitCountToHost(), and restrict it to returning "user-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const GURL& url, 141 const GURL& url,
142 bool want_visits); 142 bool want_visits);
143 void QueryHistory(scoped_refptr<QueryHistoryRequest> request, 143 void QueryHistory(scoped_refptr<QueryHistoryRequest> request,
144 const string16& text_query, 144 const string16& text_query,
145 const QueryOptions& options); 145 const QueryOptions& options);
146 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request, 146 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request,
147 const GURL& url); 147 const GURL& url);
148 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request, 148 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request,
149 const GURL& url); 149 const GURL& url);
150 150
151 void GetVisitCountToHost(scoped_refptr<GetVisitCountToHostRequest> request, 151 void GetVisibleVisitCountToHost(
152 const GURL& url); 152 scoped_refptr<GetVisibleVisitCountToHostRequest> request,
153 const GURL& url);
153 154
154 // TODO(Nik): remove. Use QueryMostVisitedURLs instead. 155 // TODO(Nik): remove. Use QueryMostVisitedURLs instead.
155 void QueryTopURLsAndRedirects( 156 void QueryTopURLsAndRedirects(
156 scoped_refptr<QueryTopURLsAndRedirectsRequest> request, 157 scoped_refptr<QueryTopURLsAndRedirectsRequest> request,
157 int result_count); 158 int result_count);
158 159
159 // Request the |result_count| most visited URLs and the chain of 160 // Request the |result_count| most visited URLs and the chain of
160 // redirects leading to each of these URLs. |days_back| is the 161 // redirects leading to each of these URLs. |days_back| is the
161 // number of days of history to use. Used by TopSites. 162 // number of days of history to use. Used by TopSites.
162 void QueryMostVisitedURLs( 163 void QueryMostVisitedURLs(
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 // Publishes the history to all indexers which are registered to receive 601 // Publishes the history to all indexers which are registered to receive
601 // history data from us. Can be NULL if there are no listeners. 602 // history data from us. Can be NULL if there are no listeners.
602 scoped_ptr<HistoryPublisher> history_publisher_; 603 scoped_ptr<HistoryPublisher> history_publisher_;
603 604
604 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 605 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
605 }; 606 };
606 607
607 } // namespace history 608 } // namespace history
608 609
609 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 610 #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