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

Unified Diff: components/bookmarks/browser/bookmark_client.h

Issue 305973004: BookmarkClient can add extra nodes to BookmarkModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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: 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698