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

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

Issue 317333004: Added BookmarkClient::CanBeEditedByUser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added TODO 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..a83e976683f92471bd2ee6a4b8faab047d0a1a8c 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().
@@ -43,12 +42,10 @@ class TestBookmarkClient : public BookmarkClient {
const BookmarkPermanentNode* node) OVERRIDE;
virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE;
virtual bookmarks::LoadExtraCallback GetLoadExtraNodesCallback() OVERRIDE;
- virtual bool CanRemovePermanentNodeChildren(
- const BookmarkNode* node) OVERRIDE;
virtual bool CanSetPermanentNodeTitle(
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(
« no previous file with comments | « components/bookmarks/browser/bookmark_utils_unittest.cc ('k') | components/bookmarks/test/test_bookmark_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698