Index: components/bookmarks/browser/bookmark_client.h |
diff --git a/components/bookmarks/browser/bookmark_client.h b/components/bookmarks/browser/bookmark_client.h |
index ffdb64c25093a7409b31cecb03602d7c73e7e737..341c689dddb74eba4382059b08c6101be6b941dd 100644 |
--- a/components/bookmarks/browser/bookmark_client.h |
+++ b/components/bookmarks/browser/bookmark_client.h |
@@ -6,6 +6,7 @@ |
#define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CLIENT_H_ |
#include <set> |
+#include <string> |
#include <utility> |
#include <vector> |
@@ -63,6 +64,12 @@ class BookmarkClient { |
// that ensure that the action is posted from the correct thread. |
virtual void RecordAction(const base::UserMetricsAction& action) = 0; |
+ // Returns the domain name for the managed bookmarks folder. This domain is |
+ // displayed only when the managed bookmarks come from a management domain; |
+ // if they come from platform or MDM policy then a default name should be |
+ // used instead. |
+ virtual std::string GetManagedBookmarksDomain(); |
+ |
protected: |
virtual ~BookmarkClient() {} |
}; |