diff options
Diffstat (limited to 'chrome/common/extensions/manifest.h')
-rw-r--r-- | chrome/common/extensions/manifest.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/extensions/manifest.h b/chrome/common/extensions/manifest.h index 3a92f93..043ad48 100644 --- a/chrome/common/extensions/manifest.h +++ b/chrome/common/extensions/manifest.h @@ -97,10 +97,10 @@ class Manifest { Location location() const { return location_; } - // |error| will be non-empty if the manifest is malformed. |warnings| will - // be populated if there are keys in the manifest that cannot be specified by - // the extension type. - void ValidateManifest(std::string* error, + // Returns false and |error| will be non-empty if the manifest is malformed. + // |warnings| will be populated if there are keys in the manifest that cannot + // be specified by the extension type. + bool ValidateManifest(std::string* error, std::vector<InstallWarning>* warnings) const; // The version of this extension's manifest. We increase the manifest |