Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1564)

Unified Diff: chrome/common/extensions/manifest.h

Issue 10782030: Add content pack information to Extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/manifest.h
diff --git a/chrome/common/extensions/manifest.h b/chrome/common/extensions/manifest.h
index 8efd6a2cbceced5c73b518e0d75c6e1e7fa7aca2..c45f2d65ba573ec4caf3f802ad10de618330cd19 100644
--- a/chrome/common/extensions/manifest.h
+++ b/chrome/common/extensions/manifest.h
@@ -47,6 +47,7 @@ class Manifest {
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_content_pack() const { return type_ == Extension::TYPE_CONTENT_PACK; }
// These access the wrapped manifest value, returning false when the property
// does not exist or if the manifest type can't access it.

Powered by Google App Engine
This is Rietveld 408576698