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

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

Issue 9705083: Unknown options in extension manifest file are silently ignored (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed an accedentally-included file Created 8 years, 9 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.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index ee4aba939c9c210fb15b96b45427270fd63773da..2b99a25a4d181e2eaf10b56108d3770aa0f6b326 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -3451,6 +3451,11 @@ bool Extension::OverlapsWithOrigin(const GURL& origin) const {
return web_extent().OverlapsWith(origin_only_pattern_list);
}
+bool Extension::HasUnrecognizedManifestKeys(
+ const std::vector<const std::string*>** unrecognized_keys) const {
+ return manifest_->HasUnrecognizedKeys(unrecognized_keys);
+}
+
Extension::SyncType Extension::GetSyncType() const {
if (!IsSyncable()) {
// We have a non-standard location.

Powered by Google App Engine
This is Rietveld 408576698