diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 04:24:46 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 04:24:46 +0000 |
commit | bc9b767065e6010c9d77f3595c9c061690865ccb (patch) | |
tree | 15d886b81fc29e89113a740c5e66452ccfbd1416 /chrome/common | |
parent | 7da042b423bbb902f08f20006fb2f089e8f0adc7 (diff) | |
download | chromium_src-bc9b767065e6010c9d77f3595c9c061690865ccb.zip chromium_src-bc9b767065e6010c9d77f3595c9c061690865ccb.tar.gz chromium_src-bc9b767065e6010c9d77f3595c9c061690865ccb.tar.bz2 |
Allow platform apps to provide intent services.
Small fix to enable this.
BUG=None
TEST=Tested that intent service is made available through Extension
interface correctly.
Review URL: http://codereview.chromium.org/9926001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130309 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/extension.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc index ecf3d16..ae08782 100644 --- a/chrome/common/extensions/extension.cc +++ b/chrome/common/extensions/extension.cc @@ -2003,7 +2003,7 @@ bool Extension::LoadWebIntentAction(const std::string& action_name, if (href.empty()) { if (is_hosted_app()) { href = launch_web_url(); - } else if (is_packaged_app()) { + } else if (is_packaged_app() || is_platform_app()) { href = launch_local_path(); } } |