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

Unified Diff: chrome/browser/history/history_backend.h

Issue 642623004: Rename VisitDatabaseObserver to HistoryServiceObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@373326
Patch Set: Address comments & rebase Created 6 years, 2 months 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: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 0d8046c1529e1a33ad2b88279ed8ff45b8f4f226..819f9df23ac95562c13bf15b6ad70defa82b15b9 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -120,6 +120,10 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
virtual void SetInMemoryBackend(
scoped_ptr<InMemoryHistoryBackend> backend) = 0;
+ // Notify HistoryService that VisitDatabase was changed. The event will be
+ // forwarded to the history::HistoryServiceObservers in the UI thread.
+ virtual void NotifyAddVisit(const history::BriefVisitInfo& info) = 0;
+
// Notify HistoryService that some URLs favicon changed that will forward
// the events to the FaviconChangedObservers in the correct thread.
virtual void NotifyFaviconChanged(const std::set<GURL>& urls) = 0;
@@ -133,9 +137,6 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// Invoked when the backend has finished loading the db.
virtual void DBLoaded() = 0;
-
- virtual void NotifyVisitDBObserversOnAddVisit(
- const history::BriefVisitInfo& info) = 0;
};
// Init must be called to complete object creation. This object can be
« no previous file with comments | « chrome/browser/history/android/android_provider_backend_unittest.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698