| Index: chrome/common/extensions/extension.h
|
| diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
|
| index 21881ee5d8c3bb81e4a5c9d0b785fe64885b8cd9..66789e422f632ef21fa13424338f560fcce714f7 100644
|
| --- a/chrome/common/extensions/extension.h
|
| +++ b/chrome/common/extensions/extension.h
|
| @@ -354,6 +354,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| // 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;
|
| @@ -366,6 +369,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| // 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;
|
|
|