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

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

Issue 10826134: Revert 149610 - Extension resources should only load in contexts the extension has permission to ac… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
===================================================================
--- chrome/common/extensions/extension.h (revision 149757)
+++ chrome/common/extensions/extension.h (working copy)
@@ -356,9 +356,6 @@
// Returns true if the specified resource is web accessible.
bool IsResourceWebAccessible(const std::string& relative_path) const;
- // Returns true if the specified resource is a NaCl manifest.
- bool IsResourceNaClManifest(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;
@@ -371,9 +368,6 @@
// Returns true when 'web_accessible_resources' are defined for the extension.
bool HasWebAccessibleResources() const;
- // Returns true when 'nacl_modules' are defined for the extension.
- bool HasNaClModules() const;
-
// Returns an extension resource object. |relative_path| should be UTF8
// encoded.
ExtensionResource GetResource(const std::string& relative_path) const;
« no previous file with comments | « chrome/browser/extensions/extension_resource_request_policy_apitest.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698