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

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

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 #include "chrome/browser/extensions/extension_bookmarks_module_constants.h" 5 #include "chrome/browser/extensions/extension_bookmarks_module_constants.h"
6 6
7 namespace extension_bookmarks_module_constants { 7 namespace extension_bookmarks_module_constants {
8 8
9 const wchar_t kIdKey[] = L"id"; 9 const wchar_t kIdKey[] = L"id";
10 const wchar_t kIndexKey[] = L"index"; 10 const wchar_t kIndexKey[] = L"index";
11 const wchar_t kParentIdKey[] = L"parentId"; 11 const wchar_t kParentIdKey[] = L"parentId";
12 const wchar_t kOldIndexKey[] = L"oldIndex"; 12 const wchar_t kOldIndexKey[] = L"oldIndex";
13 const wchar_t kOldParentIdKey[] = L"oldParentId"; 13 const wchar_t kOldParentIdKey[] = L"oldParentId";
14 const wchar_t kUrlKey[] = L"url"; 14 const wchar_t kUrlKey[] = L"url";
15 const wchar_t kTitleKey[] = L"title"; 15 const wchar_t kTitleKey[] = L"title";
16 const wchar_t kChildrenKey[] = L"children"; 16 const wchar_t kChildrenKey[] = L"children";
17 const wchar_t kChildIdsKey[] = L"childIds";
17 const wchar_t kRecursiveKey[] = L"recursive"; 18 const wchar_t kRecursiveKey[] = L"recursive";
18 const wchar_t kDateAddedKey[] = L"dateAdded"; 19 const wchar_t kDateAddedKey[] = L"dateAdded";
19 const wchar_t kDateGroupModifiedKey[] = L"dateGroupModified"; 20 const wchar_t kDateGroupModifiedKey[] = L"dateGroupModified";
20 21
21 const char kNoNodeError[] = "Can't find bookmark for id."; 22 const char kNoNodeError[] = "Can't find bookmark for id.";
22 const char kNoParentError[] = "Can't find parent bookmark for id."; 23 const char kNoParentError[] = "Can't find parent bookmark for id.";
23 const char kFolderNotEmptyError[] = 24 const char kFolderNotEmptyError[] =
24 "Can't remove non-empty folder (use recursive to force)."; 25 "Can't remove non-empty folder (use recursive to force).";
25 const char kInvalidIdError[] = "Bookmark id is invalid."; 26 const char kInvalidIdError[] = "Bookmark id is invalid.";
26 const char kInvalidIndexError[] = "Index out of bounds."; 27 const char kInvalidIndexError[] = "Index out of bounds.";
27 const char kInvalidUrlError[] = "Invalid URL."; 28 const char kInvalidUrlError[] = "Invalid URL.";
28 const char kModifySpecialError[] = "Can't modify the root bookmark folders."; 29 const char kModifySpecialError[] = "Can't modify the root bookmark folders.";
29 30
30 const char kOnBookmarkAdded[] = "bookmarks.onAdded"; 31 const char kOnBookmarkCreated[] = "bookmarks.onCreated";
31 const char kOnBookmarkRemoved[] = "bookmarks.onRemoved"; 32 const char kOnBookmarkRemoved[] = "bookmarks.onRemoved";
32 const char kOnBookmarkChanged[] = "bookmarks.onChanged"; 33 const char kOnBookmarkChanged[] = "bookmarks.onChanged";
33 const char kOnBookmarkMoved[] = "bookmarks.onMoved"; 34 const char kOnBookmarkMoved[] = "bookmarks.onMoved";
34 const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered"; 35 const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered";
35 36
36 const char kGetBookmarksFunction[] = "bookmarks.get"; 37 const char kGetBookmarksFunction[] = "bookmarks.get";
37 const char kGetBookmarkChildrenFunction[] = "bookmarks.getChildren"; 38 const char kGetBookmarkChildrenFunction[] = "bookmarks.getChildren";
38 const char kGetBookmarkTreeFunction[] = "bookmarks.getTree"; 39 const char kGetBookmarkTreeFunction[] = "bookmarks.getTree";
39 const char kSearchBookmarksFunction[] = "bookmarks.search"; 40 const char kSearchBookmarksFunction[] = "bookmarks.search";
40 const char kRemoveBookmarkFunction[] = "bookmarks.remove"; 41 const char kRemoveBookmarkFunction[] = "bookmarks.remove";
41 const char kRemoveBookmarkTreeFunction[] = "bookmarks.removeTree"; 42 const char kRemoveBookmarkTreeFunction[] = "bookmarks.removeTree";
42 const char kCreateBookmarkFunction[] = "bookmarks.create"; 43 const char kCreateBookmarkFunction[] = "bookmarks.create";
43 const char kMoveBookmarkFunction[] = "bookmarks.move"; 44 const char kMoveBookmarkFunction[] = "bookmarks.move";
44 const char kSetBookmarkTitleFunction[] = "bookmarks.update"; 45 const char kSetBookmarkTitleFunction[] = "bookmarks.update";
45 46
46 } // namespace extension_bookmarks_module_constants 47 } // namespace extension_bookmarks_module_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698