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

Unified Diff: extensions/common/extension.h

Issue 516293007: Enable forced extension updates on NaCl arch mismatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops - include unit test changes Created 6 years, 3 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/browser/extensions/updater/manifest_fetch_data.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 668f52f6806af108db2709416e594fd601467675..9312c62622a51033a9a1b40bd4f83d87226ec25d 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& 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 archs for which platform-specific resources are present in
+ // this extension installation.
+ std::set<std::string> platform_specific_resource_archs_;
+
DISALLOW_COPY_AND_ASSIGN(Extension);
};
« no previous file with comments | « chrome/browser/extensions/updater/manifest_fetch_data.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698