| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 const char kPermissions[] = "permissions"; | 119 const char kPermissions[] = "permissions"; |
| 120 const char kPlatformAppBackground[] = "app.background"; | 120 const char kPlatformAppBackground[] = "app.background"; |
| 121 const char kPlatformAppBackgroundPage[] = "app.background.page"; | 121 const char kPlatformAppBackgroundPage[] = "app.background.page"; |
| 122 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; | 122 const char kPlatformAppBackgroundScripts[] = "app.background.scripts"; |
| 123 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; | 123 const char kPlatformAppContentSecurityPolicy[] = "app.content_security_policy"; |
| 124 const char kPlugins[] = "plugins"; | 124 const char kPlugins[] = "plugins"; |
| 125 const char kPluginsPath[] = "path"; | 125 const char kPluginsPath[] = "path"; |
| 126 const char kPluginsPublic[] = "public"; | 126 const char kPluginsPublic[] = "public"; |
| 127 const char kPublicKey[] = "key"; | 127 const char kPublicKey[] = "key"; |
| 128 const char kRemoveButton[] = "remove_button"; | 128 const char kRemoveButton[] = "remove_button"; |
| 129 const char kRequiredPlatformVersion[] = "required_platform_version"; |
| 129 const char kRequirements[] = "requirements"; | 130 const char kRequirements[] = "requirements"; |
| 130 const char kRunAt[] = "run_at"; | 131 const char kRunAt[] = "run_at"; |
| 131 const char kSandboxedPages[] = "sandbox.pages"; | 132 const char kSandboxedPages[] = "sandbox.pages"; |
| 132 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; | 133 const char kSandboxedPagesCSP[] = "sandbox.content_security_policy"; |
| 133 const char kSettingsOverride[] = "chrome_settings_overrides"; | 134 const char kSettingsOverride[] = "chrome_settings_overrides"; |
| 134 const char kSettingsOverrideAlternateUrls[] = | 135 const char kSettingsOverrideAlternateUrls[] = |
| 135 "chrome_settings_overrides.search_provider.alternate_urls"; | 136 "chrome_settings_overrides.search_provider.alternate_urls"; |
| 136 const char kShiftKey[] = "shiftKey"; | 137 const char kShiftKey[] = "shiftKey"; |
| 137 const char kShortcutKey[] = "shortcutKey"; | 138 const char kShortcutKey[] = "shortcutKey"; |
| 138 const char kShortName[] = "short_name"; | 139 const char kShortName[] = "short_name"; |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 const char kInvalidPermissionScheme[] = | 567 const char kInvalidPermissionScheme[] = |
| 567 "Invalid scheme for 'permissions[*]'."; | 568 "Invalid scheme for 'permissions[*]'."; |
| 568 const char kInvalidPlugins[] = | 569 const char kInvalidPlugins[] = |
| 569 "Invalid value for 'plugins'."; | 570 "Invalid value for 'plugins'."; |
| 570 const char kInvalidPluginsPath[] = | 571 const char kInvalidPluginsPath[] = |
| 571 "Invalid value for 'plugins[*].path'."; | 572 "Invalid value for 'plugins[*].path'."; |
| 572 const char kInvalidPluginsPublic[] = | 573 const char kInvalidPluginsPublic[] = |
| 573 "Invalid value for 'plugins[*].public'."; | 574 "Invalid value for 'plugins[*].public'."; |
| 574 const char kInvalidRequirement[] = | 575 const char kInvalidRequirement[] = |
| 575 "Invalid value for requirement \"*\""; | 576 "Invalid value for requirement \"*\""; |
| 577 const char kInvalidRequiredPlatformVersion[] = |
| 578 "Invalid value for 'required_platform_version'"; |
| 576 const char kInvalidRequirements[] = | 579 const char kInvalidRequirements[] = |
| 577 "Invalid value for 'requirements'"; | 580 "Invalid value for 'requirements'"; |
| 578 const char kInvalidRunAt[] = | 581 const char kInvalidRunAt[] = |
| 579 "Invalid value for 'content_scripts[*].run_at'."; | 582 "Invalid value for 'content_scripts[*].run_at'."; |
| 580 const char kInvalidSandboxedPagesList[] = | 583 const char kInvalidSandboxedPagesList[] = |
| 581 "Invalid value for 'sandbox.pages'."; | 584 "Invalid value for 'sandbox.pages'."; |
| 582 const char kInvalidSandboxedPage[] = | 585 const char kInvalidSandboxedPage[] = |
| 583 "Invalid value for 'sandbox.pages[*]'."; | 586 "Invalid value for 'sandbox.pages[*]'."; |
| 584 const char kInvalidSandboxedPagesCSP[] = | 587 const char kInvalidSandboxedPagesCSP[] = |
| 585 "Invalid value for 'sandbox.content_security_policy'."; | 588 "Invalid value for 'sandbox.content_security_policy'."; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 "'file_system_provider_capabilities' section to be specified in the " | 731 "'file_system_provider_capabilities' section to be specified in the " |
| 729 "manifest."; | 732 "manifest."; |
| 730 const char kInvalidFileSystemProviderMissingPermission[] = | 733 const char kInvalidFileSystemProviderMissingPermission[] = |
| 731 "The 'file_system_provider_capabilities' section requires the " | 734 "The 'file_system_provider_capabilities' section requires the " |
| 732 "'fileSystemProvider' permission to be specified in the manifest."; | 735 "'fileSystemProvider' permission to be specified in the manifest."; |
| 733 #endif | 736 #endif |
| 734 | 737 |
| 735 } // namespace manifest_errors | 738 } // namespace manifest_errors |
| 736 | 739 |
| 737 } // namespace extensions | 740 } // namespace extensions |
| OLD | NEW |