DescriptionRemove adapter method on HistoryBackend delegating to AndroidProviderBackend
In order to remove the dependency of HistoryBackend on AndroidProviderBackend,
remove the adapter method that just forward their implementation to it. Also
remove methods that advance or delete a AndroidStatement as they do depend on
the HistoryBackend.
Convert the adapter method in adapter free function wrapped in HistoryDBTask
so that the code only use the public API of HistoryService and HistoryBackend.
Return the base::CancelableTaskTracker::TaskId from the ScheduleDBTask method
on HistoryService so that AndroidHistoryProviderService can return it and the
task be properly cancellable.
BUG=453790
Committed: https://crrev.com/3983849f247fcc47e0c05430b81d6481453c804e
Cr-Commit-Position: refs/heads/master@{#317331}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove usage of uniform initialization syntax #Patch Set 3 : Rebase #
Total comments: 2
Patch Set 4 : Rebase #
Messages
Total messages: 17 (6 generated)
|