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

Unified Diff: chrome/browser/bookmarks/chrome_bookmark_client.h

Issue 308273002: Made the bookmarks extension APIs aware of managed bookmarks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 6 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: 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 b93329c7f9b60dc49d3c213cc53fb167cf797d18..d13f2a40fa95613f0ddf66eb7df76ff9210a66ad 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,9 @@ class ChromeBookmarkClient : public BookmarkClient,
// Returns true if the given node belongs to the managed bookmarks tree.
bool IsAManagedNode(const BookmarkNode* node);
+// Returns true if there is at least one managed node in the |list|.
not at google - send to devlin 2014/06/05 17:16:36 indent += 2
Joao da Silva 2014/06/05 18:58:17 Done.
+ bool HasManagedNodes(const std::vector<const BookmarkNode*>& list);
+
// BookmarkClient:
virtual bool PreferTouchIcon() OVERRIDE;
virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL(
« no previous file with comments | « no previous file | chrome/browser/bookmarks/chrome_bookmark_client.cc » ('j') | chrome/browser/bookmarks/chrome_bookmark_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698