• sdefresne's avatar
    Remove dependency of HistoryService on WebHistoryServiceFactory · 173da821
    sdefresne authored
    Change HistoryService::ExpireLocalAndRemoteHistoryBetween() to
    receive the history::WebHistoryService instance to use in order
    to remove a dependency of HistoryService on Profile.
    
    It is not possible to pass the WebHistoryService instance to the
    HistoryService constructor and add a dependency between the two
    factories due to http://crbug.com/171406 (as WebHistoryService
    depends on a KeyedService calling Profile::GetRequestContext()).
    
    BUG=453790
    R=droger@chromium.org
    
    Review URL: https://codereview.chromium.org/891763002
    
    Cr-Commit-Position: refs/heads/master@{#314152}
    173da821
browsing_data_remover.cc 44.4 KB