| OLD | NEW |
| 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"; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const char kInvalidIndexError[] = "Index out of bounds."; | 27 const char kInvalidIndexError[] = "Index out of bounds."; |
| 28 const char kInvalidUrlError[] = "Invalid URL."; | 28 const char kInvalidUrlError[] = "Invalid URL."; |
| 29 const char kModifySpecialError[] = "Can't modify the root bookmark folders."; | 29 const char kModifySpecialError[] = "Can't modify the root bookmark folders."; |
| 30 | 30 |
| 31 const char kOnBookmarkCreated[] = "bookmarks.onCreated"; | 31 const char kOnBookmarkCreated[] = "bookmarks.onCreated"; |
| 32 const char kOnBookmarkRemoved[] = "bookmarks.onRemoved"; | 32 const char kOnBookmarkRemoved[] = "bookmarks.onRemoved"; |
| 33 const char kOnBookmarkChanged[] = "bookmarks.onChanged"; | 33 const char kOnBookmarkChanged[] = "bookmarks.onChanged"; |
| 34 const char kOnBookmarkMoved[] = "bookmarks.onMoved"; | 34 const char kOnBookmarkMoved[] = "bookmarks.onMoved"; |
| 35 const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered"; | 35 const char kOnBookmarkChildrenReordered[] = "bookmarks.onChildrenReordered"; |
| 36 | 36 |
| 37 const char kGetBookmarksFunction[] = "bookmarks.get"; | |
| 38 const char kGetBookmarkChildrenFunction[] = "bookmarks.getChildren"; | |
| 39 const char kGetBookmarkTreeFunction[] = "bookmarks.getTree"; | |
| 40 const char kSearchBookmarksFunction[] = "bookmarks.search"; | |
| 41 const char kRemoveBookmarkFunction[] = "bookmarks.remove"; | |
| 42 const char kRemoveBookmarkTreeFunction[] = "bookmarks.removeTree"; | |
| 43 const char kCreateBookmarkFunction[] = "bookmarks.create"; | |
| 44 const char kMoveBookmarkFunction[] = "bookmarks.move"; | |
| 45 const char kUpdateBookmarkFunction[] = "bookmarks.update"; | |
| 46 | |
| 47 } // namespace extension_bookmarks_module_constants | 37 } // namespace extension_bookmarks_module_constants |
| OLD | NEW |