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

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

Issue 11825011: Componentize visitedlinks to src/components/visitedlink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final rebase Created 7 years, 11 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) 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 176 void IterateURLs(
177 const scoped_refptr<VisitedLinkDelegate::URLEnumerator>& enumerator); 177 const scoped_refptr<components::VisitedLinkDelegate::URLEnumerator>&
178 enumerator);
178 void QueryURL(scoped_refptr<QueryURLRequest> request, 179 void QueryURL(scoped_refptr<QueryURLRequest> request,
179 const GURL& url, 180 const GURL& url,
180 bool want_visits); 181 bool want_visits);
181 void QueryHistory(scoped_refptr<QueryHistoryRequest> request, 182 void QueryHistory(scoped_refptr<QueryHistoryRequest> request,
182 const string16& text_query, 183 const string16& text_query,
183 const QueryOptions& options); 184 const QueryOptions& options);
184 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request, 185 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request,
185 const GURL& url); 186 const GURL& url);
186 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request, 187 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request,
187 const GURL& url); 188 const GURL& url);
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 // Used to provide the Android ContentProvider APIs. 916 // Used to provide the Android ContentProvider APIs.
916 scoped_ptr<AndroidProviderBackend> android_provider_backend_; 917 scoped_ptr<AndroidProviderBackend> android_provider_backend_;
917 #endif 918 #endif
918 919
919 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 920 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
920 }; 921 };
921 922
922 } // namespace history 923 } // namespace history
923 924
924 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 925 #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