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

Side by Side Diff: chrome/browser/extensions/extension_bookmark_helpers.h

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_EXTENSION_BOOKMARK_HELPERS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/values.h" 9 #include <string>
Lei Zhang 2010/08/05 19:00:18 I'm removing unneeded headers one header at a time
10 #include "chrome/browser/bookmarks/bookmark_model.h" 10
11 #include "base/basictypes.h"
12
13 class BookmarkModel;
14 class BookmarkNode;
15 class DictionaryValue;
16 class ListValue;
11 17
12 // Helper functions. 18 // Helper functions.
13 namespace extension_bookmark_helpers { 19 namespace extension_bookmark_helpers {
14 20
15 DictionaryValue* GetNodeDictionary(const BookmarkNode* node, 21 DictionaryValue* GetNodeDictionary(const BookmarkNode* node,
16 bool recurse, 22 bool recurse,
17 bool only_folders); 23 bool only_folders);
18 24
19 // Add a JSON representation of |node| to the JSON |list|. 25 // Add a JSON representation of |node| to the JSON |list|.
20 void AddNode(const BookmarkNode* node, ListValue* list, bool recurse); 26 void AddNode(const BookmarkNode* node, ListValue* list, bool recurse);
21 27
22 void AddNodeFoldersOnly(const BookmarkNode* node, 28 void AddNodeFoldersOnly(const BookmarkNode* node,
23 ListValue* list, 29 ListValue* list,
24 bool recurse); 30 bool recurse);
25 31
26 bool RemoveNode(BookmarkModel* model, 32 bool RemoveNode(BookmarkModel* model,
27 int64 id, 33 int64 id,
28 bool recursive, 34 bool recursive,
29 std::string* error); 35 std::string* error);
30 36
31 } // namespace extension_bookmark_helpers 37 } // namespace extension_bookmark_helpers
32 38
33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_ 39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/execute_code_in_tab_function.h ('k') | chrome/browser/extensions/extension_bookmark_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698