Index: chrome/common/extensions/extension.h |
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h |
index 2b3fa62d17b10f33f07005bad023bf00ad04cc12..dd20aaad02ce35f8b4f95aaad060052ead7f1c61 100644 |
--- a/chrome/common/extensions/extension.h |
+++ b/chrome/common/extensions/extension.h |
@@ -367,9 +367,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
bool ResourceMatches(const URLPatternSet& pattern_set, |
const std::string& resource) const; |
- // Returns true if the specified resource is web accessible. |
- bool IsResourceWebAccessible(const std::string& relative_path) const; |
- |
// Returns true if the specified page is sandboxed (served in a unique |
// origin). |
bool IsSandboxedPage(const std::string& relative_path) const; |
@@ -379,9 +376,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
std::string GetResourceContentSecurityPolicy(const std::string& relative_path) |
const; |
- // Returns true when 'web_accessible_resources' are defined for the extension. |
- bool HasWebAccessibleResources() const; |
- |
// Returns an extension resource object. |relative_path| should be UTF8 |
// encoded. |
ExtensionResource GetResource(const std::string& relative_path) const; |
@@ -839,7 +833,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
bool LoadCommands(string16* error); |
bool LoadPlugins(string16* error); |
bool LoadNaClModules(string16* error); |
- bool LoadWebAccessibleResources(string16* error); |
bool LoadSandboxedPages(string16* error); |
// Must be called after LoadPlugins(). |
bool LoadRequirements(string16* error); |
@@ -1042,9 +1035,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { |
scoped_ptr<extensions::Command> script_badge_command_; |
extensions::CommandMap named_commands_; |
- // Optional list of web accessible extension resources. |
- URLPatternSet web_accessible_resources_; |
- |
// Optional list of extension pages that are sandboxed (served from a unique |
// origin with a different Content Security Policy). |
URLPatternSet sandboxed_pages_; |