| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 const BookmarkNode* node, | 36 const BookmarkNode* node, |
| 37 std::vector<linked_ptr< | 37 std::vector<linked_ptr< |
| 38 api::bookmarks::BookmarkTreeNode> >* nodes, | 38 api::bookmarks::BookmarkTreeNode> >* nodes, |
| 39 bool recurse); | 39 bool recurse); |
| 40 | 40 |
| 41 bool RemoveNode(ChromeBookmarkClient* client, | 41 bool RemoveNode(ChromeBookmarkClient* client, |
| 42 int64 id, | 42 int64 id, |
| 43 bool recursive, | 43 bool recursive, |
| 44 std::string* error); | 44 std::string* error); |
| 45 | 45 |
| 46 // Get meta info from |node| and all it's children recursively. |
| 47 void GetMetaInfo(const BookmarkNode* node, |
| 48 base::DictionaryValue* id_to_meta_info_map); |
| 49 |
| 46 } // namespace bookmark_api_helpers | 50 } // namespace bookmark_api_helpers |
| 47 } // namespace extensions | 51 } // namespace extensions |
| 48 | 52 |
| 49 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ | 53 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ |
| OLD | NEW |