Index: chrome/browser/bookmarks/chrome_bookmark_client.h |
diff --git a/chrome/browser/bookmarks/chrome_bookmark_client.h b/chrome/browser/bookmarks/chrome_bookmark_client.h |
index de67a1b3e45d3d0ad71af7cf708f6001d339f091..6bfe4f417fd5f681c087d399ff089a8daedf96df 100644 |
--- a/chrome/browser/bookmarks/chrome_bookmark_client.h |
+++ b/chrome/browser/bookmarks/chrome_bookmark_client.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
#define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
+#include <vector> |
+ |
#include "base/compiler_specific.h" |
#include "base/deferred_sequenced_task_runner.h" |
#include "base/memory/ref_counted.h" |
@@ -37,6 +39,10 @@ class ChromeBookmarkClient : public BookmarkClient, |
// Returns true if the given node belongs to the managed bookmarks tree. |
bool IsDescendantOfManagedNode(const BookmarkNode* node); |
+ // Returns true if there is at least one managed node in the |list|. |
+ bool HasDescendantsOfManagedNode( |
+ const std::vector<const BookmarkNode*>& list); |
+ |
// BookmarkClient: |
virtual bool PreferTouchIcon() OVERRIDE; |
virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL( |