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

Side by Side Diff: chrome/browser/extensions/api/bookmarks/bookmark_api_constants.cc

Issue 308273002: Made the bookmarks extension APIs aware of managed bookmarks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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/api/bookmarks/bookmark_api_constants.h" 5 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace bookmark_api_constants { 8 namespace bookmark_api_constants {
9 9
10 const char kParentIdKey[] = "parentId"; 10 const char kParentIdKey[] = "parentId";
11 const char kUrlKey[] = "url"; 11 const char kUrlKey[] = "url";
12 const char kTitleKey[] = "title"; 12 const char kTitleKey[] = "title";
13 13
14 const char kNoNodeError[] = "Can't find bookmark for id."; 14 const char kNoNodeError[] = "Can't find bookmark for id.";
15 const char kNoParentError[] = "Can't find parent bookmark for id."; 15 const char kNoParentError[] = "Can't find parent bookmark for id.";
16 const char kFolderNotEmptyError[] = 16 const char kFolderNotEmptyError[] =
17 "Can't remove non-empty folder (use recursive to force)."; 17 "Can't remove non-empty folder (use recursive to force).";
18 const char kInvalidIdError[] = "Bookmark id is invalid."; 18 const char kInvalidIdError[] = "Bookmark id is invalid.";
19 const char kInvalidIndexError[] = "Index out of bounds."; 19 const char kInvalidIndexError[] = "Index out of bounds.";
20 const char kInvalidUrlError[] = "Invalid URL."; 20 const char kInvalidUrlError[] = "Invalid URL.";
21 const char kModifySpecialError[] = "Can't modify the root bookmark folders."; 21 const char kModifySpecialError[] = "Can't modify the root bookmark folders.";
22 const char kEditBookmarksDisabled[] = "Bookmark editing is disabled."; 22 const char kEditBookmarksDisabled[] = "Bookmark editing is disabled.";
23 const char kModifyManagedError[] = "Can't modify managed bookmarks.";
23 24
24 } // namespace bookmark_api_constants 25 } // namespace bookmark_api_constants
25 } // namespace extensions 26 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698