Remove dependencies of InMemoryURLIndex on Profile
Pass to InMemoryURLIndex a pointer to the owning HistoryService and remove the reference to Profile that is no longer necessary. Fix the unit tests to no longer pass the Profile, and to call the Shutdown method before destroying the object so that it properly remove itself from the HistoryService observer list. BUG=370850 Review URL: https://codereview.chromium.org/879763002 Cr-Commit-Position: refs/heads/master@{#313485}
Showing
Please register or sign in to comment