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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy.h

Issue 802593003: Implement unlimitedStorage content capability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lockness Created 6 years 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/browser/extensions/extension_special_storage_policy.h
diff --git a/chrome/browser/extensions/extension_special_storage_policy.h b/chrome/browser/extensions/extension_special_storage_policy.h
index 821b075bf27c3fa2f2b104a043e8c1384a512483..58282f07a92adefa36011dc11b7f1a106cf8f4b7 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.h
+++ b/chrome/browser/extensions/extension_special_storage_policy.h
@@ -64,6 +64,7 @@ class ExtensionSpecialStoragePolicy : public storage::SpecialStoragePolicy {
~SpecialCollection();
bool Contains(const GURL& origin);
+ bool GrantsCapabilitiesTo(const GURL& origin);
const extensions::ExtensionSet* ExtensionsContaining(const GURL& origin);
bool ContainsExtension(const std::string& extension_id);
bool Add(const extensions::Extension* extension);
@@ -89,6 +90,7 @@ class ExtensionSpecialStoragePolicy : public storage::SpecialStoragePolicy {
SpecialCollection unlimited_extensions_;
SpecialCollection file_handler_extensions_;
SpecialCollection isolated_extensions_;
+ SpecialCollection content_capabilities_unlimited_extensions_;
scoped_refptr<CookieSettings> cookie_settings_;
};

Powered by Google App Engine
This is Rietveld 408576698