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

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

Issue 2034473003: [MD History] Disable MD History for supervised users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hide_search_bar
Patch Set: Created 4 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: chrome/browser/ui/webui/md_history_ui.h
diff --git a/chrome/browser/ui/webui/md_history_ui.h b/chrome/browser/ui/webui/md_history_ui.h
index 83ae7424bae5a9257bb53e66402ae8fbfed8bd57..3104037286d13d67186d4f9365c5dc108be1ce91 100644
--- a/chrome/browser/ui/webui/md_history_ui.h
+++ b/chrome/browser/ui/webui/md_history_ui.h
@@ -9,6 +9,8 @@
#include "content/public/browser/web_ui_controller.h"
#include "ui/base/layout.h"
+class Profile;
+
namespace base {
class RefCountedMemory;
}
@@ -18,6 +20,8 @@ class MdHistoryUI : public content::WebUIController {
explicit MdHistoryUI(content::WebUI* web_ui);
~MdHistoryUI() override;
+ static bool IsEnabled(Profile* profile);
+
static base::RefCountedMemory* GetFaviconResourceBytes(
ui::ScaleFactor scale_factor);

Powered by Google App Engine
This is Rietveld 408576698