Chromium Code Reviews| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 const char kExcludeMatches[] = "exclude_matches"; | 43 const char kExcludeMatches[] = "exclude_matches"; |
| 44 const char kExport[] = "export"; | 44 const char kExport[] = "export"; |
| 45 const char kExternallyConnectable[] = "externally_connectable"; | 45 const char kExternallyConnectable[] = "externally_connectable"; |
| 46 const char kEventRules[] = "event_rules"; | 46 const char kEventRules[] = "event_rules"; |
| 47 const char kFileAccessList[] = "file_access"; | 47 const char kFileAccessList[] = "file_access"; |
| 48 const char kFileFilters[] = "file_filters"; | 48 const char kFileFilters[] = "file_filters"; |
| 49 const char kFileBrowserHandlers[] = "file_browser_handlers"; | 49 const char kFileBrowserHandlers[] = "file_browser_handlers"; |
| 50 const char kFileHandlers[] = "file_handlers"; | 50 const char kFileHandlers[] = "file_handlers"; |
| 51 const char kFileHandlerExtensions[] = "extensions"; | 51 const char kFileHandlerExtensions[] = "extensions"; |
| 52 const char kFileHandlerTypes[] = "types"; | 52 const char kFileHandlerTypes[] = "types"; |
| 53 const char kFileHandlerVerb[] = "verb"; | |
| 53 const char kGlobal[] = "global"; | 54 const char kGlobal[] = "global"; |
| 54 const char kHideBookmarkButton[] = "hide_bookmark_button"; | 55 const char kHideBookmarkButton[] = "hide_bookmark_button"; |
| 55 const char kHomepageURL[] = "homepage_url"; | 56 const char kHomepageURL[] = "homepage_url"; |
| 56 const char kIcons[] = "icons"; | 57 const char kIcons[] = "icons"; |
| 57 const char kId[] = "id"; | 58 const char kId[] = "id"; |
| 58 const char kImeOptionsPage[] = "options_page"; | 59 const char kImeOptionsPage[] = "options_page"; |
| 59 const char kImport[] = "import"; | 60 const char kImport[] = "import"; |
| 60 const char kIncognito[] = "incognito"; | 61 const char kIncognito[] = "incognito"; |
| 61 const char kIncludeGlobs[] = "include_globs"; | 62 const char kIncludeGlobs[] = "include_globs"; |
| 62 const char kIndicator[] = "indicator"; | 63 const char kIndicator[] = "indicator"; |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 399 "Invalid value for 'file_handlers[*].extensions[*]'."; | 400 "Invalid value for 'file_handlers[*].extensions[*]'."; |
| 400 const char kInvalidFileHandlerIncludeDirectories[] = | 401 const char kInvalidFileHandlerIncludeDirectories[] = |
| 401 "Invalid value for 'include_directories'."; | 402 "Invalid value for 'include_directories'."; |
| 402 const char kInvalidFileHandlerNoTypeOrExtension[] = | 403 const char kInvalidFileHandlerNoTypeOrExtension[] = |
| 403 "'file_handlers[*]' must contain a non-empty 'types', 'extensions' " | 404 "'file_handlers[*]' must contain a non-empty 'types', 'extensions' " |
| 404 "or 'include_directories'."; | 405 "or 'include_directories'."; |
| 405 const char kInvalidFileHandlerType[] = | 406 const char kInvalidFileHandlerType[] = |
| 406 "Invalid value for 'file_handlers[*].types'."; | 407 "Invalid value for 'file_handlers[*].types'."; |
| 407 const char kInvalidFileHandlerTypeElement[] = | 408 const char kInvalidFileHandlerTypeElement[] = |
| 408 "Invalid value for 'file_handlers[*].types[*]'."; | 409 "Invalid value for 'file_handlers[*].types[*]'."; |
| 410 const char kInvalidFileHandlerVerb[] = | |
| 411 "Invalid value for 'verb'. Supported values are OPEN_WITH, ADD_TO and " | |
|
fukino
2016/04/13 08:03:12
It will be tough to maintain the list [OPEN_WITH,A
cmihail
2016/04/18 01:28:10
Done.
| |
| 412 "PACK_WITH."; | |
| 409 const char kInvalidGlob[] = | 413 const char kInvalidGlob[] = |
| 410 "Invalid value for 'content_scripts[*].*[*]'."; | 414 "Invalid value for 'content_scripts[*].*[*]'."; |
| 411 const char kInvalidGlobList[] = | 415 const char kInvalidGlobList[] = |
| 412 "Invalid value for 'content_scripts[*].*'."; | 416 "Invalid value for 'content_scripts[*].*'."; |
| 413 const char kInvalidHomepageOverrideURL[] = | 417 const char kInvalidHomepageOverrideURL[] = |
| 414 "Invalid value for overriding homepage url: '[*]'."; | 418 "Invalid value for overriding homepage url: '[*]'."; |
| 415 const char kInvalidHomepageURL[] = | 419 const char kInvalidHomepageURL[] = |
| 416 "Invalid value for homepage url: '[*]'."; | 420 "Invalid value for homepage url: '[*]'."; |
| 417 const char kInvalidIconKey[] = "Invalid key in icons: \"*\"."; | 421 const char kInvalidIconKey[] = "Invalid key in icons: \"*\"."; |
| 418 const char kInvalidIconPath[] = | 422 const char kInvalidIconPath[] = |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 741 "'file_system_provider_capabilities' section to be specified in the " | 745 "'file_system_provider_capabilities' section to be specified in the " |
| 742 "manifest."; | 746 "manifest."; |
| 743 const char kInvalidFileSystemProviderMissingPermission[] = | 747 const char kInvalidFileSystemProviderMissingPermission[] = |
| 744 "The 'file_system_provider_capabilities' section requires the " | 748 "The 'file_system_provider_capabilities' section requires the " |
| 745 "'fileSystemProvider' permission to be specified in the manifest."; | 749 "'fileSystemProvider' permission to be specified in the manifest."; |
| 746 #endif | 750 #endif |
| 747 | 751 |
| 748 } // namespace manifest_errors | 752 } // namespace manifest_errors |
| 749 | 753 |
| 750 } // namespace extensions | 754 } // namespace extensions |
| OLD | NEW |