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

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

Issue 180016: Extension API Renaming/Consistency changes (Closed)
Patch Set: render docs Created 11 years, 3 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) 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 kChildIdsKey[];
21 extern const wchar_t kRecursiveKey[]; 22 extern const wchar_t kRecursiveKey[];
22 extern const wchar_t kDateAddedKey[]; 23 extern const wchar_t kDateAddedKey[];
23 extern const wchar_t kDateGroupModifiedKey[]; 24 extern const wchar_t kDateGroupModifiedKey[];
24 25
25 // Errors. 26 // Errors.
26 extern const char kNoNodeError[]; 27 extern const char kNoNodeError[];
27 extern const char kNoParentError[]; 28 extern const char kNoParentError[];
28 extern const char kFolderNotEmptyError[]; 29 extern const char kFolderNotEmptyError[];
29 extern const char kInvalidIdError[]; 30 extern const char kInvalidIdError[];
30 extern const char kInvalidIndexError[]; 31 extern const char kInvalidIndexError[];
31 extern const char kInvalidUrlError[]; 32 extern const char kInvalidUrlError[];
32 extern const char kModifySpecialError[]; 33 extern const char kModifySpecialError[];
33 34
34 // Events. 35 // Events.
35 extern const char kOnBookmarkAdded[]; 36 extern const char kOnBookmarkCreated[];
36 extern const char kOnBookmarkRemoved[]; 37 extern const char kOnBookmarkRemoved[];
37 extern const char kOnBookmarkChanged[]; 38 extern const char kOnBookmarkChanged[];
38 extern const char kOnBookmarkMoved[]; 39 extern const char kOnBookmarkMoved[];
39 extern const char kOnBookmarkChildrenReordered[]; 40 extern const char kOnBookmarkChildrenReordered[];
40 41
41 // Function names. 42 // Function names.
42 extern const char kGetBookmarksFunction[]; 43 extern const char kGetBookmarksFunction[];
43 extern const char kGetBookmarkChildrenFunction[]; 44 extern const char kGetBookmarkChildrenFunction[];
44 extern const char kGetBookmarkTreeFunction[]; 45 extern const char kGetBookmarkTreeFunction[];
45 extern const char kSearchBookmarksFunction[]; 46 extern const char kSearchBookmarksFunction[];
46 extern const char kRemoveBookmarkFunction[]; 47 extern const char kRemoveBookmarkFunction[];
47 extern const char kRemoveBookmarkTreeFunction[]; 48 extern const char kRemoveBookmarkTreeFunction[];
48 extern const char kCreateBookmarkFunction[]; 49 extern const char kCreateBookmarkFunction[];
49 extern const char kMoveBookmarkFunction[]; 50 extern const char kMoveBookmarkFunction[];
50 extern const char kSetBookmarkTitleFunction[]; 51 extern const char kSetBookmarkTitleFunction[];
51 52
52 }; // namespace extension_bookmarks_module_constants 53 }; // namespace extension_bookmarks_module_constants
53 54
54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_ 55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698