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

Unified Diff: trunk/src/chrome/browser/history/visit_database.h

Issue 19637009: Revert 212459 "Remove TextDatabase from the history service." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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: trunk/src/chrome/browser/history/visit_database.h
===================================================================
--- trunk/src/chrome/browser/history/visit_database.h (revision 212472)
+++ trunk/src/chrome/browser/history/visit_database.h (working copy)
@@ -58,6 +58,11 @@
// may still be no matches).
bool GetVisitsForURL(URLID url_id, VisitVector* visits);
+ // Fills in the given vector with all of the visits for the given page ID that
+ // have the |is_indexed| field set to true, in no particular order.
+ // Returns true on success (although there may still be no matches).
+ bool GetIndexedVisitsForURL(URLID url_id, VisitVector* visits);
+
// Fills in the given vector with the visits for the given page ID which
// match the set of options passed, sorted in ascending order of date.
//
@@ -225,7 +230,8 @@
// Rows, in order, of the visit table.
#define HISTORY_VISIT_ROW_FIELDS \
- " id,url,visit_time,from_visit,transition,segment_id,visit_duration "
+ " id,url,visit_time,from_visit,transition,segment_id,is_indexed," \
+ "visit_duration "
} // namespace history
« no previous file with comments | « trunk/src/chrome/browser/history/text_database_manager_unittest.cc ('k') | trunk/src/chrome/browser/history/visit_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698