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

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

Issue 308273002: Made the bookmarks extension APIs aware of managed bookmarks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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_utils.h
diff --git a/components/bookmarks/browser/bookmark_utils.h b/components/bookmarks/browser/bookmark_utils.h
index c798e17d10e4f72f16d7bb0245fefa9c66c1feb4..ac1a73f624e8ad8234e96dc945d5bfa6e042a0e6 100644
--- a/components/bookmarks/browser/bookmark_utils.h
+++ b/components/bookmarks/browser/bookmark_utils.h
@@ -136,6 +136,10 @@ base::string16 CleanUpUrlForMatching(
// is overly-long.
base::string16 CleanUpTitleForMatching(const base::string16& title);
+// Returns true if there is at least one managed node in the |list|.
+bool HasManaged(BookmarkModel* model,
+ const std::vector<const BookmarkNode*>& list);
+
} // namespace bookmark_utils
// Returns the node with |id|, or NULL if there is no node with |id|.

Powered by Google App Engine
This is Rietveld 408576698