| Index: extensions/common/extension.h
|
| diff --git a/extensions/common/extension.h b/extensions/common/extension.h
|
| index 668f52f6806af108db2709416e594fd601467675..067ff0ffb42700cf5cabc89dafc6918178323980 100644
|
| --- a/extensions/common/extension.h
|
| +++ b/extensions/common/extension.h
|
| @@ -351,6 +351,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| void AddWebExtentPattern(const URLPattern& pattern);
|
| const URLPatternSet& web_extent() const { return extent_; }
|
|
|
| + bool HasPlatformSpecificResources() const;
|
| + bool HasResourcesForPlatform(const std::string& nacl_arch) const;
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<Extension>;
|
|
|
| @@ -480,6 +483,10 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| // The flags that were passed to InitFromValue.
|
| int creation_flags_;
|
|
|
| + // The set of NaCl archs for which platform-specific resources exist in this
|
| + // extension, if any.
|
| + std::set<std::string> installed_nacl_archs_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(Extension);
|
| };
|
|
|
|
|