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

Unified Diff: chrome/browser/ui/webui/history_ui.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
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/history_ui.h
diff --git a/chrome/browser/ui/webui/history_ui.h b/chrome/browser/ui/webui/history_ui.h
index e7c695771f248f4a12d3c4d8e27edcf3da4f638a..c9cd58139eb76d3a6c85fde586434ccc0395ac37 100644
--- a/chrome/browser/ui/webui/history_ui.h
+++ b/chrome/browser/ui/webui/history_ui.h
@@ -47,7 +47,7 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
COMBINED_ENTRY
};
- HistoryEntry(EntryType type, const GURL& url, const base::string16& title,
+ HistoryEntry(EntryType type, const GURL& url, const base::string16& title, history::HistoryContext context,
base::Time time, const std::string& client_id,
bool is_search_result, const base::string16& snippet,
bool blocked_visit, const std::string& accept_languages);
@@ -72,6 +72,7 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler,
GURL url;
base::string16 title; // Title of the entry. May be empty.
+ history::HistoryContext context;
// The time of the entry. Usually this will be the time of the most recent
// visit to |url| on a particular day as defined in the local timezone.
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698