DescriptionMove Ownership of IMUI to HistoryService.
This change moves the InMemoryURLIndex (IMUI) from being owned by the InMemoryHistoryBackend to being owned by the HistoryService. The only dependency the IMUI has on the HistoryBackend is the need to access the history database for the one-time need to build the IMUI from scratch. Divorcing the IMUI from the HistoryBackend also pointed out that updates to the IMUI index related to URL visits and history deletes should be handled by notification, and this was implemented in this CL.
NOTE: Portions previously reviewed as: http://codereview.chromium.org/9030031/. That change involved both 1) moving the ownership of the IMUI from the InMemoryHistoryBackend, and 2) performing the caching file operations on the FILE thread. I've split this up into two CLs with this CL dealing with the move of ownership.
BUG=83659
TEST=Updated unit tests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120707
Patch Set 1 #
Total comments: 16
Patch Set 2 : Eliminate unnecessary UpdateURL and DeleteURL functions. #Patch Set 3 : '' #Patch Set 4 : Add simple accessor to make linux compiler privacy happy. #
Total comments: 6
Patch Set 5 : Qualify globally scoped friend classes. #Messages
Total messages: 7 (0 generated)
|