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

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

Issue 10067018: Add PrerenderLocalPredictor, which will eventually perform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
===================================================================
--- chrome/browser/history/history_backend.h (revision 131579)
+++ chrome/browser/history/history_backend.h (working copy)
@@ -91,6 +91,9 @@
// Tell TopSites to start reading thumbnails from the ThumbnailsDB.
virtual void StartTopSitesMigration(int backend_id) = 0;
+
+ virtual void NotifyVisitDBObserversOnAddVisit(
+ history::BriefVisitInfo info) = 0;
};
// Init must be called to complete object creation. This object can be
@@ -588,6 +591,9 @@
// and true if returned on success, otherwise false is returned.
bool GetFaviconFromDB(FaviconID favicon_id, FaviconData* favicon);
+ // Notify any observers of an addition to the visit database.
+ void NotifyVisitObservers(VisitRow* visit);
brettw 2012/04/20 22:21:50 Can't you pass this by const ref?
tburkard 2012/04/20 22:56:44 Done.
+
// Data ----------------------------------------------------------------------
// Delegate. See the class definition above for more information. This will

Powered by Google App Engine
This is Rietveld 408576698