Index: chrome/common/extensions/manifest.h |
diff --git a/chrome/common/extensions/manifest.h b/chrome/common/extensions/manifest.h |
index c1887933ed1a582ca0b2b682f4920356f3598c20..7c3762894076196434c92200cc68739b2ee94570 100644 |
--- a/chrome/common/extensions/manifest.h |
+++ b/chrome/common/extensions/manifest.h |
@@ -55,7 +55,8 @@ class Manifest { |
// This is marked legacy because platform apps are preferred. For |
// backwards compatibility, we can't remove support for packaged apps |
TYPE_LEGACY_PACKAGED_APP, |
- TYPE_PLATFORM_APP |
+ TYPE_PLATFORM_APP, |
+ TYPE_SHARED_MODULE |
Matt Perry
2013/04/25 20:16:31
I'm wary of adding another extension type. What's
elijahtaylor1
2013/04/25 21:01:28
It was suggested by erikkay and asargent originall
Matt Perry
2013/04/25 21:07:23
Does a new Type really buy you those things, thoug
elijahtaylor1
2013/04/25 21:26:25
I think so, right? The keys listed in _manifest_f
|
}; |
// Given two install sources, return the one which should take priority |
@@ -122,6 +123,7 @@ class Manifest { |
return type_ == TYPE_LEGACY_PACKAGED_APP; |
} |
bool is_extension() const { return type_ == TYPE_EXTENSION; } |
+ bool is_shared_module() const { return type_ == TYPE_SHARED_MODULE; } |
// These access the wrapped manifest value, returning false when the property |
// does not exist or if the manifest type can't access it. |