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

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

Issue 1884553002: Add a testing switch to override the query for other forms of browsing history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated bug number. Created 4 years, 8 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: 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 0b576bc8fb213b644555f254367b1318ed9e83a3..9e9bc36fda559e29611d2694976198948a48a349 100644
--- a/chrome/browser/ui/webui/history_ui.h
+++ b/chrome/browser/ui/webui/history_ui.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_WEBUI_HISTORY_UI_H_
#include "base/macros.h"
+#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_ui_controller.h"
#include "ui/base/layout.h"
@@ -13,7 +14,8 @@ namespace base {
class RefCountedMemory;
}
-class HistoryUI : public content::WebUIController {
+class HistoryUI : public content::WebUIController,
+ public content::WebContentsObserver {
public:
explicit HistoryUI(content::WebUI* web_ui);
~HistoryUI() override;
@@ -21,6 +23,9 @@ class HistoryUI : public content::WebUIController {
static base::RefCountedMemory* GetFaviconResourceBytes(
ui::ScaleFactor scale_factor);
+ // WebContentsObserver implementation.
+ void DidStopLoading() override;
+
private:
DISALLOW_COPY_AND_ASSIGN(HistoryUI);
};
« no previous file with comments | « no previous file | chrome/browser/ui/webui/history_ui.cc » ('j') | components/browsing_data_ui/history_notice_utils.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698