Chromium Code Reviews| Index: components/bookmarks/browser/bookmark_utils.h |
| diff --git a/components/bookmarks/browser/bookmark_utils.h b/components/bookmarks/browser/bookmark_utils.h |
| index 0384cfc11ff89bbcdd3e89f65dcc75297e845eb7..358dd0bfc6114835224ccc1a528e4766976d848b 100644 |
| --- a/components/bookmarks/browser/bookmark_utils.h |
| +++ b/components/bookmarks/browser/bookmark_utils.h |
| @@ -162,6 +162,10 @@ bool IsDescendantOf(const BookmarkNode* node, const BookmarkNode* root); |
| bool HasDescendantsOf(const std::vector<const BookmarkNode*>& list, |
| const BookmarkNode* root); |
| +// Returns the parent the last node was added to. This never returns NULL |
|
sky
2016/10/10 21:02:24
Returns the parent to add new nodes to, never retu
kraush
2016/10/10 22:18:05
Will change.
|
| +// (as long as the model is loaded). |
| +const BookmarkNode* GetParentForNewNodes(BookmarkModel* model); |
| + |
| } // namespace bookmarks |
| #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_UTILS_H_ |