HistoryServiceListenerIOS::OnURLsDeleted renamed

This function has been renamed to `OnHistoryDeletions`.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/f55883b54d2415dc41aeef5a905fc4e63159c211

commit f55883b54d2415dc41aeef5a905fc4e63159c211
Author: Tommy C. Li <tommycli@chromium.org>
Date:   Tue Mar 26 14:32:22 2024 +0000

    HistoryServiceObserver: Rename OnURLsDeleted to OnHistoryDeletions

    OnURLsDeleted was always a bit of a misnomer because DeletionInfo could
    specify a lot more detail than which URLs were deleted.

    In this recent CL, we made DeletionInfo also contain which visits were
    deleted, so it's become even more of a misnomer.

    This CL renames OnURLsDeleted to the more general name:
    OnHistoryDeletions.

    Bug: 329495955
This commit is contained in:
Claudio DeSouza
2024-05-03 16:54:05 -04:00
committed by mkarolin
parent 3b918149ee
commit b8f40b57a8
2 changed files with 3 additions and 3 deletions
@@ -33,8 +33,8 @@ class HistoryServiceListenerIOS : public history::HistoryServiceObserver {
const history::VisitRow& new_visit) override;
void OnURLsModified(history::HistoryService* history_service,
const history::URLRows& changed_urls) override;
void OnURLsDeleted(history::HistoryService* history_service,
const history::DeletionInfo& deletion_info) override;
void OnHistoryDeletions(history::HistoryService* history_service,
const history::DeletionInfo& deletion_info) override;
id<HistoryServiceObserver> observer_;
history::HistoryService* service_; // NOT OWNED
@@ -87,7 +87,7 @@ void HistoryServiceListenerIOS::OnURLsModified(
}
}
void HistoryServiceListenerIOS::OnURLsDeleted(
void HistoryServiceListenerIOS::OnHistoryDeletions(
history::HistoryService* history_service,
const history::DeletionInfo& deletion_info) {
bool isAllHistory = false;