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

Unified Diff: components/bookmarks/test/test_bookmark_client.h

Issue 302313005: Show the Managed Bookmarks folder in the views UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased on model changes 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: components/bookmarks/test/test_bookmark_client.h
diff --git a/components/bookmarks/test/test_bookmark_client.h b/components/bookmarks/test/test_bookmark_client.h
index b707dae9a64e99956d821488dc7f4ab5bc9e9e8a..68435270e665acd3b1061c08167a58df4b71d65a 100644
--- a/components/bookmarks/test/test_bookmark_client.h
+++ b/components/bookmarks/test/test_bookmark_client.h
@@ -22,8 +22,7 @@ class TestBookmarkClient : public BookmarkClient {
scoped_ptr<BookmarkModel> CreateModel(bool index_urls);
// Sets the list of extra nodes to be returned by the next call to
- // GetLoadExtraNodesCallback(). CreateModel() won't pick this up; the model
- // needs to get Load() invoked to reach to the client for this call.
+ // CreateModel() or GetLoadExtraNodesCallback().
void SetExtraNodesToLoad(bookmarks::BookmarkPermanentNodeList extra_nodes);
// Returns the current extra_nodes, set via SetExtraNodesToLoad().
@@ -49,6 +48,7 @@ class TestBookmarkClient : public BookmarkClient {
const BookmarkNode* permanent_node) OVERRIDE;
virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE;
virtual bool CanReorderChildren(const BookmarkNode* parent) OVERRIDE;
+ virtual bool CanBeEditedByUser(const BookmarkNode* node) OVERRIDE;
// Helpers for GetLoadExtraNodesCallback().
static bookmarks::BookmarkPermanentNodeList LoadExtraNodes(

Powered by Google App Engine
This is Rietveld 408576698