| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 void SetPageContents(const GURL& url, const string16& contents); | 166 void SetPageContents(const GURL& url, const string16& contents); |
| 167 | 167 |
| 168 // Querying ------------------------------------------------------------------ | 168 // Querying ------------------------------------------------------------------ |
| 169 | 169 |
| 170 // ScheduleAutocomplete() never frees |provider| (which is globally live). | 170 // ScheduleAutocomplete() never frees |provider| (which is globally live). |
| 171 // It passes |params| on to the autocomplete system which will eventually | 171 // It passes |params| on to the autocomplete system which will eventually |
| 172 // free it. | 172 // free it. |
| 173 void ScheduleAutocomplete(HistoryURLProvider* provider, | 173 void ScheduleAutocomplete(HistoryURLProvider* provider, |
| 174 HistoryURLProviderParams* params); | 174 HistoryURLProviderParams* params); |
| 175 | 175 |
| 176 void IterateURLs(HistoryService::URLEnumerator* enumerator); | 176 void IterateURLs(VisitedLinkDelegate::URLEnumerator* enumerator); |
| 177 void QueryURL(scoped_refptr<QueryURLRequest> request, | 177 void QueryURL(scoped_refptr<QueryURLRequest> request, |
| 178 const GURL& url, | 178 const GURL& url, |
| 179 bool want_visits); | 179 bool want_visits); |
| 180 void QueryHistory(scoped_refptr<QueryHistoryRequest> request, | 180 void QueryHistory(scoped_refptr<QueryHistoryRequest> request, |
| 181 const string16& text_query, | 181 const string16& text_query, |
| 182 const QueryOptions& options); | 182 const QueryOptions& options); |
| 183 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request, | 183 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request, |
| 184 const GURL& url); | 184 const GURL& url); |
| 185 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request, | 185 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request, |
| 186 const GURL& url); | 186 const GURL& url); |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 // Used to provide the Android ContentProvider APIs. | 901 // Used to provide the Android ContentProvider APIs. |
| 902 scoped_ptr<AndroidProviderBackend> android_provider_backend_; | 902 scoped_ptr<AndroidProviderBackend> android_provider_backend_; |
| 903 #endif | 903 #endif |
| 904 | 904 |
| 905 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 905 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 906 }; | 906 }; |
| 907 | 907 |
| 908 } // namespace history | 908 } // namespace history |
| 909 | 909 |
| 910 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 910 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| OLD | NEW |