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

Unified Diff: chrome/browser/history/history_backend.h

Issue 376703007: Change HistoryService::ScheduleAutocomplete interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 8ed3508a94fbd4c3a3e394936c848b83b5ff0a91..3da5e0f54035e85234a3846a48501dfa5cb83020 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -153,8 +153,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// ScheduleAutocomplete() never frees |provider| (which is globally live).
blundell 2014/07/08 09:10:05 This comment is out of date now: it should describ
nshaik 2014/07/08 18:53:49 Done.
// It passes |params| on to the autocomplete system which will eventually
// free it.
- void ScheduleAutocomplete(HistoryURLProvider* provider,
- HistoryURLProviderParams* params);
+ void ScheduleAutocomplete(const base::Callback<
+ void(history::HistoryBackend*, history::URLDatabase*)>& callback);
void IterateURLs(
const scoped_refptr<visitedlink::VisitedLinkDelegate::URLEnumerator>&

Powered by Google App Engine
This is Rietveld 408576698