Index: chrome/common/extensions/extension.h |
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
index 49850aa5f4a4e5d6bdad182a0522489d88bbea3f..a0f79132bd01c62b460c741c5d065e2bb2a49e6f 100644 |
--- a/chrome/common/extensions/extension.h |
+++ b/chrome/common/extensions/extension.h |
@@ -480,6 +480,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
bool is_app() const { return is_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_; } |
const ExtensionExtent& web_extent() const { return extent_; } |
const std::string& launch_local_path() const { return launch_local_path_; } |
const std::string& launch_web_url() const { return launch_web_url_; } |
@@ -571,6 +572,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
std::string* error); |
bool LoadLaunchContainer(const DictionaryValue* manifest, std::string* error); |
bool LoadLaunchURL(const DictionaryValue* manifest, std::string* error); |
+ bool LoadAppIsolation(const DictionaryValue* manifest, std::string* error); |
bool EnsureNotHybridApp(const DictionaryValue* manifest, std::string* error); |
// Helper method to load an ExtensionAction from the page_action or |
@@ -733,6 +735,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
// Whether this extension uses app features. |
bool is_app_; |
+ // Whether this extension requests isolated storage. |
+ bool is_storage_isolated_; |
+ |
// The local path inside the extension to use with the launcher. |
std::string launch_local_path_; |