1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h"
8 namespace bookmark_api_constants
{
10 const char kParentIdKey
[] = "parentId";
11 const char kUrlKey
[] = "url";
12 const char kTitleKey
[] = "title";
14 const char kNoNodeError
[] = "Can't find bookmark for id.";
15 const char kNoParentError
[] = "Can't find parent bookmark for id.";
16 const char kFolderNotEmptyError
[] =
17 "Can't remove non-empty folder (use recursive to force).";
18 const char kInvalidIdError
[] = "Bookmark id is invalid.";
19 const char kInvalidIndexError
[] = "Index out of bounds.";
20 const char kInvalidUrlError
[] = "Invalid URL.";
21 const char kModifySpecialError
[] = "Can't modify the root bookmark folders.";
22 const char kEditBookmarksDisabled
[] = "Bookmark editing is disabled.";
23 const char kModifyManagedError
[] = "Can't modify managed bookmarks.";
24 const char kInvalidParamError
[] = "Parameter 'key' is invalid.";
26 } // namespace bookmark_api_constants
27 } // namespace extensions