summaryrefslogtreecommitdiffstats
path: root/components/bookmarks/common
diff options
context:
space:
mode:
authortreib <treib@chromium.org>2015-02-09 05:47:56 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-09 13:48:30 +0000
commit1a600c7b3fdff94fa7e00656191f37fb65dd05b1 (patch)
treeed4728b86b3a0227f5b274a32c392ddaceed9074 /components/bookmarks/common
parent325d8a111604bc221bc318b67bf9c703da8ddb81 (diff)
downloadchromium_src-1a600c7b3fdff94fa7e00656191f37fb65dd05b1.zip
chromium_src-1a600c7b3fdff94fa7e00656191f37fb65dd05b1.tar.gz
chromium_src-1a600c7b3fdff94fa7e00656191f37fb65dd05b1.tar.bz2
Managed bookmarks for supervised users.
Design doc: https://docs.google.com/document/d/1Ms5wHyGtVzdH0MOF46olgnTj4k9opQGYzMSrk-LJckM Based on fhorschig's https://chromereviews.googleplex.com/108977013/ BUG=443606 Review URL: https://codereview.chromium.org/769153007 Cr-Commit-Position: refs/heads/master@{#315289}
Diffstat (limited to 'components/bookmarks/common')
-rw-r--r--components/bookmarks/common/bookmark_pref_names.cc4
-rw-r--r--components/bookmarks/common/bookmark_pref_names.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/components/bookmarks/common/bookmark_pref_names.cc b/components/bookmarks/common/bookmark_pref_names.cc
index 8ea30b2..fcf3e8b 100644
--- a/components/bookmarks/common/bookmark_pref_names.cc
+++ b/components/bookmarks/common/bookmark_pref_names.cc
@@ -31,5 +31,9 @@ const char kShowManagedBookmarksInBookmarkBar[] =
// Boolean which specifies whether the bookmark bar is visible on all tabs.
const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs";
+// A list of bookmarks to include in a Supervised Bookmarks root node. Behaves
+// like kManagedBookmarks.
+const char kSupervisedBookmarks[] = "bookmarks.supervised_bookmarks";
+
} // namespace prefs
} // namespace bookmarks
diff --git a/components/bookmarks/common/bookmark_pref_names.h b/components/bookmarks/common/bookmark_pref_names.h
index 1c67341..3e2adb6 100644
--- a/components/bookmarks/common/bookmark_pref_names.h
+++ b/components/bookmarks/common/bookmark_pref_names.h
@@ -16,6 +16,7 @@ extern const char kManagedBookmarks[];
extern const char kShowAppsShortcutInBookmarkBar[];
extern const char kShowManagedBookmarksInBookmarkBar[];
extern const char kShowBookmarkBar[];
+extern const char kSupervisedBookmarks[];
} // namespace prefs
} // namespace bookmarks