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

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
« no previous file with comments | « chrome/common/extensions/csp_handler.cc ('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 6fc1165cb7e920ddf21d0f58e4b1197c80578772..20f517a80006ac600d11349df718ed8892bc2e9d 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -214,15 +214,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)
- const;
-
// Returns an extension resource object. |relative_path| should be UTF8
// encoded.
ExtensionResource GetResource(const std::string& relative_path) const;
@@ -557,7 +548,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool LoadDescription(string16* error);
bool LoadManifestVersion(string16* error);
bool LoadNaClModules(string16* error);
- bool LoadSandboxedPages(string16* error);
bool LoadKioskEnabled(string16* error);
bool LoadOfflineEnabled(string16* error);
bool LoadTextToSpeechVoices(string16* error);
@@ -657,15 +647,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_;
« no previous file with comments | « chrome/common/extensions/csp_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698