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

Unified Diff: chrome/browser/ui/webui/md_bookmarks/bookmarks_message_handler.h

Issue 2912893002: MD Bookmarks: Support policies for disabling bookmark editing (Closed)
Patch Set: canEdit -> globalCanEdit Created 3 years, 6 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_bookmarks/bookmarks_message_handler.h
diff --git a/chrome/browser/ui/webui/md_bookmarks/bookmarks_message_handler.h b/chrome/browser/ui/webui/md_bookmarks/bookmarks_message_handler.h
index e76640c8e751f418fe5c2072e8c714eb5a25fa61..c7e3921718ea8198e79bf572ac22d99001c8a844 100644
--- a/chrome/browser/ui/webui/md_bookmarks/bookmarks_message_handler.h
+++ b/chrome/browser/ui/webui/md_bookmarks/bookmarks_message_handler.h
@@ -22,6 +22,10 @@ class BookmarksMessageHandler : public content::WebUIMessageHandler {
void HandleGetIncognitoAvailability(const base::ListValue* args);
void UpdateIncognitoAvailability();
+ bool CanEditBookmarks();
+ void HandleGetCanEditBookmarks(const base::ListValue* args);
+ void UpdateCanEditBookmarks();
+
// content::WebUIMessageHandler:
void RegisterMessages() override;
void OnJavascriptAllowed() override;
« no previous file with comments | « chrome/browser/resources/md_bookmarks/util.js ('k') | chrome/browser/ui/webui/md_bookmarks/bookmarks_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698