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

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

Issue 151032: a few minor tweaks the bookmarks API:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Constants used to for the Bookmarks API. 5 // Constants used to for the Bookmarks API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_
9 9
10 namespace extension_bookmarks_module_constants { 10 namespace extension_bookmarks_module_constants {
11 11
12 // Keys. 12 // Keys.
13 extern const wchar_t kIdKey[]; 13 extern const wchar_t kIdKey[];
14 extern const wchar_t kIndexKey[]; 14 extern const wchar_t kIndexKey[];
15 extern const wchar_t kParentIdKey[]; 15 extern const wchar_t kParentIdKey[];
16 extern const wchar_t kOldIndexKey[]; 16 extern const wchar_t kOldIndexKey[];
17 extern const wchar_t kOldParentIdKey[]; 17 extern const wchar_t kOldParentIdKey[];
18 extern const wchar_t kUrlKey[]; 18 extern const wchar_t kUrlKey[];
19 extern const wchar_t kTitleKey[]; 19 extern const wchar_t kTitleKey[];
20 extern const wchar_t kChildrenKey[]; 20 extern const wchar_t kChildrenKey[];
21 extern const wchar_t kRecursiveKey[]; 21 extern const wchar_t kRecursiveKey[];
22 extern const wchar_t kDateAddedKey[];
23 extern const wchar_t kDateGroupModifiedKey[];
22 24
23 // Errors. 25 // Errors.
24 extern const char kNoNodeError[]; 26 extern const char kNoNodeError[];
25 extern const char kNoParentError[]; 27 extern const char kNoParentError[];
26 extern const char kFolderNotEmptyError[]; 28 extern const char kFolderNotEmptyError[];
27 extern const char kInvalidIndexError[]; 29 extern const char kInvalidIndexError[];
28 extern const char kInvalidUrlError[]; 30 extern const char kInvalidUrlError[];
29 extern const char kModifySpecialError[]; 31 extern const char kModifySpecialError[];
30 32
31 // Events. 33 // Events.
32 extern const char kOnBookmarkAdded[]; 34 extern const char kOnBookmarkAdded[];
33 extern const char kOnBookmarkRemoved[]; 35 extern const char kOnBookmarkRemoved[];
34 extern const char kOnBookmarkChanged[]; 36 extern const char kOnBookmarkChanged[];
35 extern const char kOnBookmarkMoved[]; 37 extern const char kOnBookmarkMoved[];
36 extern const char kOnBookmarkChildrenReordered[]; 38 extern const char kOnBookmarkChildrenReordered[];
37 39
38 // Function names. 40 // Function names.
39 extern const char kGetBookmarksFunction[]; 41 extern const char kGetBookmarksFunction[];
40 extern const char kGetBookmarkChildrenFunction[]; 42 extern const char kGetBookmarkChildrenFunction[];
41 extern const char kGetBookmarkTreeFunction[]; 43 extern const char kGetBookmarkTreeFunction[];
42 extern const char kSearchBookmarksFunction[]; 44 extern const char kSearchBookmarksFunction[];
43 extern const char kRemoveBookmarkFunction[]; 45 extern const char kRemoveBookmarkFunction[];
44 extern const char kCreateBookmarkFunction[]; 46 extern const char kCreateBookmarkFunction[];
45 extern const char kMoveBookmarkFunction[]; 47 extern const char kMoveBookmarkFunction[];
46 extern const char kSetBookmarkTitleFunction[]; 48 extern const char kSetBookmarkTitleFunction[];
47 49
48 }; // namespace extension_bookmarks_module_constants 50 }; // namespace extension_bookmarks_module_constants
49 51
50 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ 52 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698