| OLD | NEW |
| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 void IterateURLs( | 149 void IterateURLs( |
| 150 const scoped_refptr<visitedlink::VisitedLinkDelegate::URLEnumerator>& | 150 const scoped_refptr<visitedlink::VisitedLinkDelegate::URLEnumerator>& |
| 151 enumerator); | 151 enumerator); |
| 152 void QueryURL(const GURL& url, | 152 void QueryURL(const GURL& url, |
| 153 bool want_visits, | 153 bool want_visits, |
| 154 QueryURLResult* query_url_result); | 154 QueryURLResult* query_url_result); |
| 155 void QueryHistory(const base::string16& text_query, | 155 void QueryHistory(const base::string16& text_query, |
| 156 const QueryOptions& options, | 156 const QueryOptions& options, |
| 157 QueryResults* query_results); | 157 QueryResults* query_results); |
| 158 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request, | 158 void QueryRedirectsFrom(const GURL& url, QueryRedirectsResult* result); |
| 159 const GURL& url); | 159 void QueryRedirectsTo(const GURL& url, QueryRedirectsResult* result); |
| 160 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request, | |
| 161 const GURL& url); | |
| 162 | 160 |
| 163 void GetVisibleVisitCountToHost( | 161 void GetVisibleVisitCountToHost( |
| 164 scoped_refptr<GetVisibleVisitCountToHostRequest> request, | 162 scoped_refptr<GetVisibleVisitCountToHostRequest> request, |
| 165 const GURL& url); | 163 const GURL& url); |
| 166 | 164 |
| 167 // TODO(Nik): remove. Use QueryMostVisitedURLs instead. | 165 // TODO(Nik): remove. Use QueryMostVisitedURLs instead. |
| 168 void QueryTopURLsAndRedirects( | 166 void QueryTopURLsAndRedirects( |
| 169 scoped_refptr<QueryTopURLsAndRedirectsRequest> request, | 167 scoped_refptr<QueryTopURLsAndRedirectsRequest> request, |
| 170 int result_count); | 168 int result_count); |
| 171 | 169 |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 | 863 |
| 866 // Listens for the system being under memory pressure. | 864 // Listens for the system being under memory pressure. |
| 867 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 865 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 868 | 866 |
| 869 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 867 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 870 }; | 868 }; |
| 871 | 869 |
| 872 } // namespace history | 870 } // namespace history |
| 873 | 871 |
| 874 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 872 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| OLD | NEW |