• sdefresne's avatar
    Remove dependencies of InMemoryURLIndex on Profile · 1ec74aa1
    sdefresne authored
    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}
    1ec74aa1
history_service.cc 49 KB