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

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: 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 5e1b91756ce89f9325b14feb5c6e90d907f07264..5ea943d9b7a5e6aa2a0ce10bdb772fbb1b85c592 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -242,10 +242,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)
@@ -596,7 +592,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 LoadOfflineEnabled(string16* error);
@@ -728,15 +723,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