| // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_ |
| #define CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_ |
| |
| // Constants used for the Bookmarks API. |
| |
| namespace extensions { |
| namespace bookmark_api_constants { |
| |
| // Keys. |
| extern const char kParentIdKey[]; |
| extern const char kUrlKey[]; |
| extern const char kTitleKey[]; |
| |
| // Errors. |
| extern const char kNoNodeError[]; |
| extern const char kNoParentError[]; |
| extern const char kFolderNotEmptyError[]; |
| extern const char kInvalidIdError[]; |
| extern const char kInvalidIndexError[]; |
| extern const char kInvalidUrlError[]; |
| extern const char kModifySpecialError[]; |
| extern const char kEditBookmarksDisabled[]; |
| extern const char kModifyManagedError[]; |
| extern const char kInvalidParamError[]; |
| extern const char kCannotSetUrlOfFolderError[]; |
| |
| } // namespace bookmark_api_constants |
| } // namespace extensions |
| |
| #endif // CHROME_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARK_API_CONSTANTS_H_ |