Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Unified Diff: components/history/core/browser/history_backend_observer.h

Issue 773103004: Remove NOTIFICATION_HISTORY_URLS_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove NotificationObserver from InMemoryURLIndex Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/history/core/browser/history_backend_observer.h
diff --git a/components/history/core/browser/history_backend_observer.h b/components/history/core/browser/history_backend_observer.h
index 0d537b2758ba9a76dc7cfa65c45696bff47a04bb..ae465e8e5c34dd6a28a1df73fcaa87df8ba155e4 100644
--- a/components/history/core/browser/history_backend_observer.h
+++ b/components/history/core/browser/history_backend_observer.h
@@ -11,6 +11,7 @@
namespace history {
class HistoryBackend;
+struct URLsDeletedDetails;
class HistoryBackendObserver {
public:
@@ -38,6 +39,13 @@ class HistoryBackendObserver {
virtual void OnURLsModified(history::HistoryBackend* history_backend,
const history::URLRows& changed_urls) = 0;
+ // Called when one or more of URLs are deleted.
+ //
+ // |deleted_details| lists the URLs deleted from the history databse.
+ virtual void OnURLsDeleted(
sdefresne 2014/12/04 17:21:13 So, looking at the calling site of the chrome::NOT
nshaik 2014/12/04 18:37:08 Should I remove the |favicon_urls| and also remove
+ HistoryBackend* history_backend,
+ const history::URLsDeletedDetails& deleted_details) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(HistoryBackendObserver);
};

Powered by Google App Engine
This is Rietveld 408576698