summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/manifest.h
diff options
context:
space:
mode:
authorgrv@chromium.org <grv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-28 04:40:10 +0000
committergrv@chromium.org <grv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-28 04:40:10 +0000
commitc4f459d484f47ee4636e3c586589e474544e4e3d (patch)
tree47648ee81a529fca184c72c16473337cc5c54487 /chrome/common/extensions/manifest.h
parent2d6186b6f02511703e7c980fb275c73e73ecfb13 (diff)
downloadchromium_src-c4f459d484f47ee4636e3c586589e474544e4e3d.zip
chromium_src-c4f459d484f47ee4636e3c586589e474544e4e3d.tar.gz
chromium_src-c4f459d484f47ee4636e3c586589e474544e4e3d.tar.bz2
Rename PACKAGED_APP references to LEGACY_PACKAGED_APP
BUG=151656 Review URL: https://chromiumcodereview.appspot.com/10909239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/manifest.h')
-rw-r--r--chrome/common/extensions/manifest.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/extensions/manifest.h b/chrome/common/extensions/manifest.h
index 8efd6a2..da5f542 100644
--- a/chrome/common/extensions/manifest.h
+++ b/chrome/common/extensions/manifest.h
@@ -45,8 +45,10 @@ class Manifest {
bool is_theme() const { return type_ == Extension::TYPE_THEME; }
bool is_platform_app() const { return type_ == Extension::TYPE_PLATFORM_APP; }
- bool is_packaged_app() const { return type_ == Extension::TYPE_PACKAGED_APP; }
bool is_hosted_app() const { return type_ == Extension::TYPE_HOSTED_APP; }
+ bool is_legacy_packaged_app() const {
+ return type_ == Extension::TYPE_LEGACY_PACKAGED_APP;
+ }
// These access the wrapped manifest value, returning false when the property
// does not exist or if the manifest type can't access it.