Index: chrome/common/extensions/extension.h |
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
index 912fa31be04bb9612d3a323b09d479e7a8e5c11b..c89c8f27d99e48c57da421d0b69b4416e67a8226 100644 |
--- a/chrome/common/extensions/extension.h |
+++ b/chrome/common/extensions/extension.h |
@@ -103,7 +103,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
TYPE_THEME, |
TYPE_USER_SCRIPT, |
TYPE_HOSTED_APP, |
- TYPE_PACKAGED_APP |
+ TYPE_PACKAGED_APP, |
+ TYPE_PLATFORM_APP |
}; |
enum SyncType { |
@@ -547,6 +548,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
// App-related. |
bool is_app() const { return is_app_; } |
+ bool is_platform_app() const { return is_platform_app_; } |
bool is_hosted_app() const { return is_app() && !web_extent().is_empty(); } |
bool is_packaged_app() const { return is_app() && web_extent().is_empty(); } |
bool is_storage_isolated() const { return is_app() && is_storage_isolated_; } |
@@ -820,6 +822,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
// Whether this extension uses app features. |
bool is_app_; |
+ // Whether this app uses platform features. |
+ bool is_platform_app_; |
+ |
// Whether this extension requests isolated storage. |
bool is_storage_isolated_; |