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

Unified Diff: chrome/browser/history/history_types.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_types.h
===================================================================
--- chrome/browser/history/history_types.h (revision 131579)
+++ chrome/browser/history/history_types.h (working copy)
@@ -751,6 +751,20 @@
history::IconType icon_type;
};
+// Abbreviated information about a visit.
+struct BriefVisitInfo {
+ URLID url_id;
+ base::Time time;
+ content::PageTransition transition;
+};
+
+// An observer of VisitDatabase.
+class VisitDatabaseObserver {
+ public:
+ virtual ~VisitDatabaseObserver() {}
+ virtual void OnAddVisit(BriefVisitInfo info) = 0;
brettw 2012/04/20 22:21:50 I'd probably change all the places where you pass
tburkard 2012/04/20 22:56:44 Wouldn't that be problematic, since the BriefVisit
brettw 2012/04/23 17:52:54 PostTask knows to copy pass-by-ref args to other t
tburkard 2012/04/23 18:24:11 Done.
+};
+
} // namespace history
#endif // CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698