summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/manifest_constants.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/extensions/common/manifest_constants.cc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/extensions/common/manifest_constants.cc')
-rw-r--r--chromium/extensions/common/manifest_constants.cc47
1 files changed, 26 insertions, 21 deletions
diff --git a/chromium/extensions/common/manifest_constants.cc b/chromium/extensions/common/manifest_constants.cc
index e2ad539af77..953978c53c2 100644
--- a/chromium/extensions/common/manifest_constants.cc
+++ b/chromium/extensions/common/manifest_constants.cc
@@ -190,11 +190,12 @@ const char kWebAccessibleResources[] = "web_accessible_resources";
const char kWebAppFileHandlers[] = "web_app_file_handlers";
const char kWebAppFileHandlerAccept[] = "accept";
const char kWebAppFileHandlerAction[] = "action";
-const char kWebAppLinkedShortcutIcons[] = "web_app_linked_shortcut_icons";
-const char kWebAppLinkedShortcutIconSize[] = "size";
-const char kWebAppLinkedShortcutIconURL[] = "url";
-const char kWebAppLinkedShortcutItemIndex[] = "shortcut_item_index";
-const char kWebAppLinkedShortcutItemName[] = "shortcut_item_name";
+const char kWebAppLinkedShortcutItems[] = "web_app_linked_shortcut_items";
+const char kWebAppLinkedShortcutItemIcons[] = "shortcut_item_icons";
+const char kWebAppLinkedShortcutItemIconSize[] = "size";
+const char kWebAppLinkedShortcutItemIconURL[] = "url";
+const char kWebAppLinkedShortcutItemName[] = "name";
+const char kWebAppLinkedShortcutItemURL[] = "url";
const char kWebAppShortcutIcons[] = "web_app_shortcut_icons";
const char kWebURLs[] = "app.urls";
const char kWebview[] = "webview";
@@ -721,24 +722,28 @@ const char kInvalidWebAppFileHandlerFileExtensions[] =
"Invalid value for 'web_app_file_handlers[*].accept[*].file_extensions'.";
const char kInvalidWebAppFileHandlerFileExtension[] =
"Invalid value for web_app_file_handlers[*].accept[*].file_extensions[*]'.";
-const char kInvalidWebAppLinkedShortcutIcon[] =
- "Invalid 'web_app_linked_shortcut_icon'. Must be a dictionary";
-const char kInvalidWebAppLinkedShortcutIcons[] =
- "Invalid 'web_app_linked_shortcut_icons'. Must be an array";
-const char kInvalidWebAppLinkedShortcutIconsNotBookmarkApp[] =
- "The 'web_app_linked_shortcut_icons' manifest key is only supported for "
+const char kInvalidWebAppLinkedShortcutItem[] =
+ "Invalid 'web_app_linked_shortcut_item'. Must be a dictionary";
+const char kInvalidWebAppLinkedShortcutItems[] =
+ "Invalid 'web_app_linked_shortcut_items'. Must be an array";
+const char kInvalidWebAppLinkedShortcutItemsNotBookmarkApp[] =
+ "The 'web_app_linked_shortcut_items' manifest key is only supported for "
"Bookmark Apps.";
-const char kInvalidWebAppLinkedShortcutIconSize[] =
- "Invalid 'size' for 'web_app_linked_shortcut_icon'. Must be an integer";
-const char kInvalidWebAppLinkedShortcutIconURL[] =
- "Invalid 'url' for 'web_app_linked_shortcut_icon'. Must be a string that "
- "is a valid URL";
-const char kInvalidWebAppLinkedShortcutItemIndex[] =
- "Invalid 'shortcut_item_index' for 'web_app_linked_shortcut_icon'. Must be "
- "an integer";
+const char kInvalidWebAppLinkedShortcutItemIcons[] =
+ "Invalid 'shortcut_item_icons'. Must be an array";
+const char kInvalidWebAppLinkedShortcutItemIcon[] =
+ "Invalid 'shortcut_item_icon'. Must be a dictionary";
+const char kInvalidWebAppLinkedShortcutItemIconSize[] =
+ "Invalid 'size' for 'shortcut_item_icon'. Must be an "
+ "integer";
+const char kInvalidWebAppLinkedShortcutItemIconUrl[] =
+ "Invalid 'url' for 'shortcut_item_icon'. Must be a "
+ "string that is a valid URL";
const char kInvalidWebAppLinkedShortcutItemName[] =
- "Invalid 'shortcut_item_name' for 'web_app_linked_shortcut_icon'. Must be "
- "a string.";
+ "Invalid 'name' for 'web_app_linked_shortcut_item'. Must be a string.";
+const char kInvalidWebAppLinkedShortcutItemUrl[] =
+ "Invalid 'url' for 'web_app_linked_shortcut_item'. Must be a string that "
+ "is a valid URL";
const char kInvalidWebAppShortcutItemIcons[] =
"Invalid value for web app shortcut item's icons. Must be a Dictionary.";
const char kInvalidWebAppShortcutIcons[] =