Index: chrome/common/extensions/extension_manifest_constants.cc |
diff --git a/chrome/common/extensions/extension_manifest_constants.cc b/chrome/common/extensions/extension_manifest_constants.cc |
index dc4a0dbaea4df0f6ed2cffe66d6bb63e5b1c0811..72c9fda2d0164436c08189090dfd623ae2bf8b52 100644 |
--- a/chrome/common/extensions/extension_manifest_constants.cc |
+++ b/chrome/common/extensions/extension_manifest_constants.cc |
@@ -33,6 +33,7 @@ const char kDisplayInNewTabPage[] = "display_in_new_tab_page"; |
const char kEventName[] = "event_name"; |
const char kExcludeGlobs[] = "exclude_globs"; |
const char kExcludeMatches[] = "exclude_matches"; |
+const char kExport[] = "export"; |
const char kFileAccessList[] = "file_access"; |
const char kFileFilters[] = "file_filters"; |
const char kFileBrowserHandlers[] = "file_browser_handlers"; |
@@ -43,6 +44,7 @@ const char kFileHandlerTypes[] = "types"; |
const char kHomepageURL[] = "homepage_url"; |
const char kIcons[] = "icons"; |
const char kId[] = "id"; |
+const char kImport[] = "import"; |
const char kIncognito[] = "incognito"; |
const char kIncludeGlobs[] = "include_globs"; |
const char kInputComponents[] = "input_components"; |
@@ -72,6 +74,7 @@ const char kLayouts[] = "layouts"; |
const char kManifestVersion[] = "manifest_version"; |
const char kMatches[] = "matches"; |
const char kMinimumChromeVersion[] = "minimum_chrome_version"; |
+const char kMinimumVersion[] = "minimum_version"; |
const char kMIMETypes[] = "mime_types"; |
const char kMimeTypesHandler[] = "mime_types_handler"; |
const char kName[] = "name"; |
@@ -105,6 +108,7 @@ const char kPlugins[] = "plugins"; |
const char kPluginsPath[] = "path"; |
const char kPluginsPublic[] = "public"; |
const char kPublicKey[] = "key"; |
+const char kResources[] = "resources"; |
const char kRequirements[] = "requirements"; |
const char kRunAt[] = "run_at"; |
const char kSandboxedPages[] = "sandbox.pages"; |
@@ -256,6 +260,14 @@ const char kInvalidExcludeMatch[] = |
"Invalid value for 'content_scripts[*].exclude_matches[*]': *"; |
const char kInvalidExcludeMatches[] = |
"Invalid value for 'content_scripts[*].exclude_matches'."; |
+const char kInvalidExport[] = |
+ "Invalid value for 'export'."; |
+const char kInvalidExportPermissions[] = |
+ "Permissions are not allowed for extensions that export resources."; |
+const char kInvalidExportResources[] = |
+ "Invalid value for 'export.resources'."; |
+const char kInvalidExportResourcesString[] = |
+ "Invalid value for 'export.resources[*]'."; |
const char kInvalidFileAccessList[] = |
"Invalid value for 'file_access'."; |
const char kInvalidFileAccessValue[] = |
@@ -286,6 +298,14 @@ const char kInvalidIconPath[] = |
"Invalid value for 'icons[\"*\"]'."; |
const char kInvalidIcons[] = |
"Invalid value for 'icons'."; |
+const char kInvalidImport[] = |
+ "Invalid value for 'import'."; |
+const char kInvalidImportAndExport[] = |
+ "Simultaneous 'import' and 'export' are not allowed."; |
+const char kInvalidImportId[] = |
+ "Invalid value for 'import[*].id'."; |
+const char kInvalidImportVersion[] = |
+ "Invalid value for 'import[*].minimum_version'."; |
const char kInvalidIncognitoBehavior[] = |
"Invalid value for 'incognito'."; |
const char kInvalidIncognitoModeForPlatformApp[] = |