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

Unified Diff: chrome/browser/extensions/api/bookmarks/bookmarks_api.cc

Issue 769153007: Managed bookmarks for supervised users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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/extensions/api/bookmarks/bookmarks_api.cc
diff --git a/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc b/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc
index e1fbce3b7c31c69e362af3c934d7368758772fac..01349d91c1b777609d8c6250946aa6056a303cb3 100644
--- a/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc
+++ b/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc
@@ -209,7 +209,7 @@ bool BookmarksFunction::CanBeModified(const BookmarkNode* node) {
return false;
}
ChromeBookmarkClient* client = GetChromeBookmarkClient();
- if (client->IsDescendantOfManagedNode(node)) {
+ if (client->IsDescendantOfManagedOrSupervisedNode(node)) {
Pam (message me for reviews) 2015/01/14 14:03:37 The API description for "unmodifiable" will also n
Marc Treib 2015/01/14 16:40:50 Good catch! I've updated the description string in
error_ = keys::kModifyManagedError;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698