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

Unified Diff: extensions/common/extension.cc

Issue 540673002: Enable forced extension updates on NaCl arch mismatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« extensions/common/extension.h ('K') | « extensions/common/extension.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index d8e798e516e2795c50f670fd27a6b26e4a1ed6e9..b4455a481cfb825cc7c68e1c07a881d7fdf93a22 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -435,6 +435,16 @@ void Extension::AddWebExtentPattern(const URLPattern& pattern) {
extent_.AddPattern(pattern);
}
+void Extension::SetPlatformSpecificResourceArchs(
+ const std::set<std::string>& archs) {
+ platform_specific_resource_archs_ = archs;
+}
+
+void Extension::GetPlatformSpecificResourceArchs(
+ std::set<std::string>* archs) const {
+ *archs = platform_specific_resource_archs_;
+}
+
// static
bool Extension::InitExtensionID(extensions::Manifest* manifest,
const base::FilePath& path,
« extensions/common/extension.h ('K') | « extensions/common/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698