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

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

Issue 10349015: Make platform apps get isolated storage by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/common/extensions/api/_manifest_features.json ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index cceba31b5c1e473036c511ba2fc0db13a3da0768..c7e5ed5cd8b95f035e5583f24bff07c0ada0a507 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -664,7 +664,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool is_platform_app() const;
bool is_hosted_app() const;
bool is_packaged_app() const;
- bool is_storage_isolated() const { return is_app() && is_storage_isolated_; }
+ bool is_storage_isolated() const { return is_storage_isolated_; }
const URLPatternSet& 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_; }
@@ -738,7 +738,8 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// extension from the manifest.
bool CheckMinimumChromeVersion(string16* error);
- bool LoadAppIsolation(string16* error);
+ bool LoadAppIsolation(const ExtensionAPIPermissionSet& api_permissions,
+ string16* error);
bool LoadRequiredFeatures(string16* error);
bool LoadName(string16* error);
« no previous file with comments | « chrome/common/extensions/api/_manifest_features.json ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698