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

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

Issue 330343002: Introduce ChromeBookmarkClientFactory (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 20 matching lines...) Expand all
31 const BookmarkNode* node, 31 const BookmarkNode* node,
32 std::vector<linked_ptr<api::bookmarks::BookmarkTreeNode> >* nodes, 32 std::vector<linked_ptr<api::bookmarks::BookmarkTreeNode> >* nodes,
33 bool recurse); 33 bool recurse);
34 34
35 void AddNodeFoldersOnly(ChromeBookmarkClient* client, 35 void AddNodeFoldersOnly(ChromeBookmarkClient* client,
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(BookmarkModel* model,
42 ChromeBookmarkClient* client,
42 int64 id, 43 int64 id,
43 bool recursive, 44 bool recursive,
44 std::string* error); 45 std::string* error);
45 46
46 } // namespace bookmark_api_helpers 47 } // namespace bookmark_api_helpers
47 } // namespace extensions 48 } // namespace extensions
48 49
49 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_ 50 #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_HELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698