OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "extensions/common/manifest_constants.h" | 6 #include "extensions/common/manifest_constants.h" |
7 | 7 |
8 namespace extensions { | 8 namespace extensions { |
9 | 9 |
10 namespace manifest_keys { | 10 namespace manifest_keys { |
(...skipping 11 matching lines...) Expand all Loading... |
22 const char kBackgroundScripts[] = "background.scripts"; | 22 const char kBackgroundScripts[] = "background.scripts"; |
23 const char kBluetooth[] = "bluetooth"; | 23 const char kBluetooth[] = "bluetooth"; |
24 const char kBookmarkUI[] = "bookmarks_ui"; | 24 const char kBookmarkUI[] = "bookmarks_ui"; |
25 const char kBrowserAction[] = "browser_action"; | 25 const char kBrowserAction[] = "browser_action"; |
26 const char kChromeURLOverrides[] = "chrome_url_overrides"; | 26 const char kChromeURLOverrides[] = "chrome_url_overrides"; |
27 const char kCommands[] = "commands"; | 27 const char kCommands[] = "commands"; |
28 const char kContentCapabilities[] = "content_capabilities"; | 28 const char kContentCapabilities[] = "content_capabilities"; |
29 const char kContentScripts[] = "content_scripts"; | 29 const char kContentScripts[] = "content_scripts"; |
30 const char kContentSecurityPolicy[] = "content_security_policy"; | 30 const char kContentSecurityPolicy[] = "content_security_policy"; |
31 const char kConvertedFromUserScript[] = "converted_from_user_script"; | 31 const char kConvertedFromUserScript[] = "converted_from_user_script"; |
32 const char kCopresence[] = "copresence"; | |
33 const char kCss[] = "css"; | 32 const char kCss[] = "css"; |
34 const char kCtrlKey[] = "ctrlKey"; | 33 const char kCtrlKey[] = "ctrlKey"; |
35 const char kCurrentLocale[] = "current_locale"; | 34 const char kCurrentLocale[] = "current_locale"; |
36 const char kDefaultLocale[] = "default_locale"; | 35 const char kDefaultLocale[] = "default_locale"; |
37 const char kDescription[] = "description"; | 36 const char kDescription[] = "description"; |
38 const char kDevToolsPage[] = "devtools_page"; | 37 const char kDevToolsPage[] = "devtools_page"; |
39 const char kDisplayInLauncher[] = "display_in_launcher"; | 38 const char kDisplayInLauncher[] = "display_in_launcher"; |
40 const char kDisplayInNewTabPage[] = "display_in_new_tab_page"; | 39 const char kDisplayInNewTabPage[] = "display_in_new_tab_page"; |
41 const char kEventName[] = "event_name"; | 40 const char kEventName[] = "event_name"; |
42 const char kExcludeGlobs[] = "exclude_globs"; | 41 const char kExcludeGlobs[] = "exclude_globs"; |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 const char kInvalidContentCapabilitiesMatchOrigin[] = | 336 const char kInvalidContentCapabilitiesMatchOrigin[] = |
338 "Domain wildcards are not allowed for content_capabilities URL patterns."; | 337 "Domain wildcards are not allowed for content_capabilities URL patterns."; |
339 const char kInvalidContentCapabilitiesPermission[] = | 338 const char kInvalidContentCapabilitiesPermission[] = |
340 "Invalid content_capabilities permission: *."; | 339 "Invalid content_capabilities permission: *."; |
341 const char kInvalidContentScript[] = | 340 const char kInvalidContentScript[] = |
342 "Invalid value for 'content_scripts[*]'."; | 341 "Invalid value for 'content_scripts[*]'."; |
343 const char kInvalidContentScriptsList[] = | 342 const char kInvalidContentScriptsList[] = |
344 "Invalid value for 'content_scripts'."; | 343 "Invalid value for 'content_scripts'."; |
345 const char kInvalidContentSecurityPolicy[] = | 344 const char kInvalidContentSecurityPolicy[] = |
346 "Invalid value for 'content_security_policy'."; | 345 "Invalid value for 'content_security_policy'."; |
347 const char kInvalidCopresenceConfig[] = "Invalid value for 'copresence'."; | |
348 const char kInvalidCopresenceApiKey[] = | |
349 "copresence.api_key must not be empty."; | |
350 const char kInvalidCSPInsecureValue[] = | 346 const char kInvalidCSPInsecureValue[] = |
351 "Ignored insecure CSP value \"*\" in directive '*'."; | 347 "Ignored insecure CSP value \"*\" in directive '*'."; |
352 const char kInvalidCSPMissingSecureSrc[] = | 348 const char kInvalidCSPMissingSecureSrc[] = |
353 "CSP directive '*' must be specified (either explicitly, or implicitly via" | 349 "CSP directive '*' must be specified (either explicitly, or implicitly via" |
354 " 'default-src') and must whitelist only secure resources."; | 350 " 'default-src') and must whitelist only secure resources."; |
355 const char kInvalidCss[] = | 351 const char kInvalidCss[] = |
356 "Invalid value for 'content_scripts[*].css[*]'."; | 352 "Invalid value for 'content_scripts[*].css[*]'."; |
357 const char kInvalidCssList[] = | 353 const char kInvalidCssList[] = |
358 "Required value 'content_scripts[*].css' is invalid."; | 354 "Required value 'content_scripts[*].css' is invalid."; |
359 const char kInvalidDefaultLocale[] = | 355 const char kInvalidDefaultLocale[] = |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 "'file_system_provider_capabilities' section to be specified in the " | 740 "'file_system_provider_capabilities' section to be specified in the " |
745 "manifest."; | 741 "manifest."; |
746 const char kInvalidFileSystemProviderMissingPermission[] = | 742 const char kInvalidFileSystemProviderMissingPermission[] = |
747 "The 'file_system_provider_capabilities' section requires the " | 743 "The 'file_system_provider_capabilities' section requires the " |
748 "'fileSystemProvider' permission to be specified in the manifest."; | 744 "'fileSystemProvider' permission to be specified in the manifest."; |
749 #endif | 745 #endif |
750 | 746 |
751 } // namespace manifest_errors | 747 } // namespace manifest_errors |
752 | 748 |
753 } // namespace extensions | 749 } // namespace extensions |
OLD | NEW |