Index: chrome/browser/history/history_backend.h |
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h |
index 9e24f06c8226ca75f856db89e23731e07486e305..cb1edb839ffcd1e159e8288a0cd9acdf1fadafd8 100644 |
--- a/chrome/browser/history/history_backend.h |
+++ b/chrome/browser/history/history_backend.h |
@@ -159,11 +159,12 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>, |
// Querying ------------------------------------------------------------------ |
- // ScheduleAutocomplete() never frees |provider| (which is globally live). |
- // It passes |params| on to the autocomplete system which will eventually |
- // free it. |
- void ScheduleAutocomplete(HistoryURLProvider* provider, |
- HistoryURLProviderParams* params); |
+ // Run the |callback| on the History thread. |
+ // history_url_provider.h has the temporal ordering for |
+ // the call sequence. |
+ // |callback| should handle the NULL database case. |
+ void ScheduleAutocomplete(const base::Callback< |
+ void(history::HistoryBackend*, history::URLDatabase*)>& callback); |
void IterateURLs( |
const scoped_refptr<visitedlink::VisitedLinkDelegate::URLEnumerator>& |