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

Side by Side Diff: chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h

Issue 330983002: Added option to bookmarkManagerPrivate.getMetaInfo() to get meta info from all bookmarks in a one f… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698