diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 07:50:11 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 07:50:11 +0000 |
commit | 75709691d97122dbefd7d73ce0cfade557e498b5 (patch) | |
tree | f79b37918e4c345a21036a11d5d7c6520e118ab6 /chrome/common/extensions/extension_constants.h | |
parent | 5ed550d5336a5c159adf5dd319a62d13d01c0eed (diff) | |
download | chromium_src-75709691d97122dbefd7d73ce0cfade557e498b5.zip chromium_src-75709691d97122dbefd7d73ce0cfade557e498b5.tar.gz chromium_src-75709691d97122dbefd7d73ce0cfade557e498b5.tar.bz2 |
Allow multiple domains in app.
Subsequent changes will:
* Allow URLPatterns to specify * for scheme, so that http/https doesn't need to be repeated for each host.
* Fix the overlap detection.
Suggested review order:
- test files
- url_pattern*
- extension_extent*
- extension*
- everything else
BUG=46633
Review URL: http://codereview.chromium.org/2876007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_constants.h')
-rw-r--r-- | chrome/common/extensions/extension_constants.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h index b7f9ec8..a2a972b 100644 --- a/chrome/common/extensions/extension_constants.h +++ b/chrome/common/extensions/extension_constants.h @@ -32,6 +32,7 @@ namespace extension_manifest_keys { extern const wchar_t* kJs; extern const wchar_t* kMatches; extern const wchar_t* kName; + extern const wchar_t* kOmniboxKeyword; extern const wchar_t* kPageActionId; extern const wchar_t* kPageAction; extern const wchar_t* kPageActions; @@ -62,11 +63,8 @@ namespace extension_manifest_keys { extern const wchar_t* kVersion; extern const wchar_t* kUpdateURL; extern const wchar_t* kOptionsPage; - extern const wchar_t* kWebContent; extern const wchar_t* kWebLaunchUrl; - extern const wchar_t* kWebOrigin; - extern const wchar_t* kWebPaths; - extern const wchar_t* kOmniboxKeyword; + extern const wchar_t* kWebURLs; } // namespace extension_manifest_keys // Some values expected in manifests. @@ -144,10 +142,8 @@ namespace extension_manifest_errors { extern const char* kInvalidThemeImages; extern const char* kInvalidThemeColors; extern const char* kInvalidThemeTints; - extern const char* kInvalidWebContentEnabled; - extern const char* kInvalidWebOrigin; - extern const char* kInvalidWebPaths; - extern const char* kInvalidWebPath; + extern const char* kInvalidWebURLs; + extern const char* kInvalidWebURL; extern const char* kOneUISurfaceOnly; extern const char* kThemesCannotContainExtensions; extern const char* kManifestParseError; |