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

Unified Diff: trunk/src/chrome/browser/history/history_types.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/history_types.h
===================================================================
--- trunk/src/chrome/browser/history/history_types.h (revision 212472)
+++ trunk/src/chrome/browser/history/history_types.h (working copy)
@@ -246,6 +246,13 @@
// If 0, the segment id is null in the table.
SegmentID segment_id;
+ // True when this visit has indexed data for it. We try to keep this in sync
+ // with the full text index: when we add or remove things from there, we will
+ // update the visit table as well. However, that file could get deleted, or
+ // out of sync in various ways, so this flag should be false when things
+ // change.
+ bool is_indexed;
+
// Record how much time a user has this visit starting from the user
// opened this visit to the user closed or ended this visit.
// This includes both active and inactive time as long as
@@ -453,6 +460,10 @@
// enough room. When 0, this will return everything (the default).
int max_count;
+ // Only search within the page body if true, otherwise search all columns
+ // including url and time. Defaults to false.
+ bool body_only;
+
enum DuplicateHandling {
// Omit visits for which there is a more recent visit to the same URL.
// Each URL in the results will appear only once.
« no previous file with comments | « trunk/src/chrome/browser/history/history_tab_helper.cc ('k') | trunk/src/chrome/browser/history/history_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698