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

Unified Diff: chrome/browser/history/history.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
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | chrome/browser/history/history_backend.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
===================================================================
--- chrome/browser/history/history.h (revision 131579)
+++ chrome/browser/history/history.h (working copy)
@@ -54,6 +54,7 @@
class HistoryQueryTest;
class VisitFilter;
class URLDatabase;
+class VisitDatabaseObserver;
} // namespace history
@@ -548,6 +549,11 @@
// db.
bool needs_top_sites_migration() const { return needs_top_sites_migration_; }
+ // Adds or removes observers for the VisitDatabase. Should be run in the
+ // thread in which the observer would like to be notified.
+ void AddVisitDatabaseObserver(history::VisitDatabaseObserver* observer);
+ void RemoveVisitDatabaseObserver(history::VisitDatabaseObserver* observer);
+
// Testing -------------------------------------------------------------------
// Designed for unit tests, this passes the given task on to the history
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | chrome/browser/history/history_backend.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698