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

Unified Diff: chrome/browser/ui/webui/history_ui.h

Issue 22862006: "domain" item added to HistoryEntry to allow showing IDN in chrome://history/ (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 3 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
===================================================================
--- chrome/browser/ui/webui/history_ui.h (revision 216076)
+++ chrome/browser/ui/webui/history_ui.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
#define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
+#include <string>
+
#include "base/strings/string16.h"
#include "base/timer/timer.h"
#include "base/values.h"
@@ -40,7 +42,7 @@
HistoryEntry(EntryType type, const GURL& url, const string16& title,
base::Time time, const std::string& client_id,
bool is_search_result, const string16& snippet,
- bool blocked_visit);
+ bool blocked_visit, const std::string& accept_languages);
HistoryEntry();
virtual ~HistoryEntry();
@@ -81,6 +83,9 @@
// Whether this entry was blocked when it was attempted.
bool blocked_visit;
+
+ // kAcceptLanguages pref value.
+ std::string accept_languages;
};
BrowsingHistoryHandler();
@@ -163,6 +168,9 @@
// Sets the query options for a monthly query, |offset| months ago.
void SetQueryTimeInMonths(int offset, history::QueryOptions* options);
+ // kAcceptLanguages pref value.
+ std::string GetAcceptLanguages() const;
+
content::NotificationRegistrar registrar_;
// Consumer for search requests to the history service.
« 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