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

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

Issue 12886023: Remove SandboxedPages and SandboxedCSP from Extension Class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Yoyo's Created 7 years, 9 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
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 29b503cf2203b60a7217717c5a0860e46482b5f5..fc3eabdab797f998f17a7b6367fddd6550451c9b 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -245,10 +245,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool ResourceMatches(const URLPatternSet& pattern_set,
const std::string& resource) const;
- // Returns true if the specified page is sandboxed (served in a unique
- // origin).
- bool IsSandboxedPage(const std::string& relative_path) const;
-
// Returns the Content Security Policy that the specified resource should be
// served with.
std::string GetResourceContentSecurityPolicy(const std::string& relative_path)
@@ -600,7 +596,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool LoadDescription(string16* error);
bool LoadManifestVersion(string16* error);
bool LoadNaClModules(string16* error);
- bool LoadSandboxedPages(string16* error);
// Must be called after the "plugins" key has been parsed.
bool LoadRequirements(string16* error);
bool LoadKioskEnabled(string16* error);
@@ -736,15 +731,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// Optional list of NaCl modules and associated properties.
std::vector<NaClModuleInfo> nacl_modules_;
- // Optional list of extension pages that are sandboxed (served from a unique
- // origin with a different Content Security Policy).
- URLPatternSet sandboxed_pages_;
-
- // Content Security Policy that should be used to enforce the sandbox used
- // by sandboxed pages (guaranteed to have the "sandbox" directive without the
- // "allow-same-origin" token).
- std::string sandboxed_pages_content_security_policy_;
-
// The public key used to sign the contents of the crx package.
std::string public_key_;

Powered by Google App Engine
This is Rietveld 408576698