Index: chrome/common/extensions/manifest.h |
diff --git a/chrome/common/extensions/manifest.h b/chrome/common/extensions/manifest.h |
index da5f5421f7c47b5b578889bd758af6a4a47e4d59..6c8d6129156c628f480a68f38d0e8620cbb74d9d 100644 |
--- a/chrome/common/extensions/manifest.h |
+++ b/chrome/common/extensions/manifest.h |
@@ -49,6 +49,7 @@ class Manifest { |
bool is_legacy_packaged_app() const { |
return type_ == Extension::TYPE_LEGACY_PACKAGED_APP; |
} |
+ bool is_extension() const { return type_ == Extension::TYPE_EXTENSION; } |
// These access the wrapped manifest value, returning false when the property |
// does not exist or if the manifest type can't access it. |