From 9a494877fcbc832b0c1bce73db3665e64e37f085 Mon Sep 17 00:00:00 2001 From: "limasdf@gmail.com" Date: Sat, 2 Mar 2013 03:05:45 +0000 Subject: Use string16 intead of std::string on error argument in extension.cc among Extension classes TEST=unit_tests BUG=71980 Review URL: https://chromiumcodereview.appspot.com/12317090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185672 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/extensions/manifest.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/common/extensions/manifest.h') 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* warnings) const; // The version of this extension's manifest. We increase the manifest -- cgit v1.1