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

Unified Diff: components/history/core/browser/history_types.h

Issue 1143183002: Proof of concept implementation of context based history filtering. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/history/core/browser/history_types.h
diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h
index a49ee300a01edb365c43b488bdf374619295e71c..771f4004bc13c524ec4e5652ce1d9f00792f185d 100644
--- a/components/history/core/browser/history_types.h
+++ b/components/history/core/browser/history_types.h
@@ -97,7 +97,7 @@ class VisitRow {
// This includes both active and inactive time as long as
// the visit was present.
base::TimeDelta visit_duration;
-
+ HistoryContext context;
// Compares two visits based on dates, for sorting.
bool operator<(const VisitRow& other) {
return visit_time < other.visit_time;
@@ -241,7 +241,7 @@ struct QueryOptions {
// time range.
base::Time begin_time;
base::Time end_time;
-
+ HistoryContext context;
// Sets the query time to the last |days_ago| days to the present time.
void SetRecentDayRange(int days_ago);
« no previous file with comments | « components/history/core/browser/history_service.cc ('k') | components/history/core/browser/history_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698