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

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

Issue 694843002: Remove NOTIFICATION_HISTORY_URLS_MODIFIED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 1 month 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 e9fff7e57a4679962c11678844f4e4b8e43870a4..0d537b2758ba9a76dc7cfa65c45696bff47a04bb 100644
--- a/components/history/core/browser/history_backend_observer.h
+++ b/components/history/core/browser/history_backend_observer.h
@@ -30,6 +30,14 @@ class HistoryBackendObserver {
const RedirectList& redirects,
base::Time visit_time) = 0;
+ // Called when a URL has been added or modified.
+ //
+ // |changed_urls| lists the information for each of the URLs affected. The
+ // rows will have the IDs that are currently in effect in the main history
+ // database.
+ virtual void OnURLsModified(history::HistoryBackend* history_backend,
+ const history::URLRows& changed_urls) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(HistoryBackendObserver);
};
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ('k') | components/history/core/browser/history_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698