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

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

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.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 383c43bc691f8a2b5490e6bce161a03f62c10166..8c06235409db3a6dd03bfc2fafc6d202b76a9574 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -523,6 +523,11 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// Returns true if the extension should be displayed in the launcher.
bool ShouldDisplayInLauncher() const;
+ // Gets the list of unrecognized keys in the manifest, if any.
+ // Unrecognized keys are filled in when Manifest::ValidateManifest is called.
not at google - send to devlin 2012/04/09 13:01:54 Why need this method? Seems adequate to call mani
+ bool HasUnrecognizedManifestKeys(
+ const std::vector<const std::string*>** unrecognized_keys) const;
+
// Accessors:
const FilePath& path() const { return path_; }

Powered by Google App Engine
This is Rietveld 408576698