DescriptionChange HistoryService::QueryURL to use CancelableTaskTracker
The callback no longer receive an HistoryService::Handle as first parameter
and the caller should use the returned base::CancelableTaskTrasker::TaskId
to cancel a request early.
Instead of passing a CancelableRequestConsumer to the query, the caller
pass a base::CancelableTaskTracker. The lifetime of the callback can be
associated to the request by using base::Passed().
Remove unused types and fix usage of the values passed to the result
callback (check success before using the URLRow or the VisitVector).
BUG=371818
TBR=bauerb,sky,asargent,gavinp,shess,pkasting
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276739
Patch Set 1 #Patch Set 2 : Rebase & fix style errors #
Total comments: 16
Patch Set 3 : Address comments #
Total comments: 4
Patch Set 4 : Rebase and add comment for scoped_ptr usage #
Total comments: 2
Messages
Total messages: 21 (0 generated)
|