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

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

Issue 549193002: Skip managed bookmarks at the BookmarkChangeProcessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 6 years, 3 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/models/tree_node_iterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_utils.cc
diff --git a/components/bookmarks/browser/bookmark_utils.cc b/components/bookmarks/browser/bookmark_utils.cc
index 304d2befbd07d5b36d3286e8b1e24010a393f884..b0769ff946b7014cc6a77b9680c0c087d7e8bbc5 100644
--- a/components/bookmarks/browser/bookmark_utils.cc
+++ b/components/bookmarks/browser/bookmark_utils.cc
@@ -7,6 +7,7 @@
#include <utility>
#include "base/basictypes.h"
+#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/i18n/case_conversion.h"
#include "base/i18n/string_search.h"
@@ -214,8 +215,8 @@ std::vector<const BookmarkNode*> GetMostRecentlyModifiedUserFolders(
BookmarkModel* model,
size_t max_count) {
std::vector<const BookmarkNode*> nodes;
- ui::TreeNodeIterator<const BookmarkNode> iterator(model->root_node(),
- PruneInvisibleFolders);
+ ui::TreeNodeIterator<const BookmarkNode> iterator(
+ model->root_node(), base::Bind(&PruneInvisibleFolders));
while (iterator.has_next()) {
const BookmarkNode* parent = iterator.Next();
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/models/tree_node_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698