diff options
author | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-02 03:05:45 +0000 |
---|---|---|
committer | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-02 03:05:45 +0000 |
commit | 9a494877fcbc832b0c1bce73db3665e64e37f085 (patch) | |
tree | 81e95814236626eba32b010335e1d0e8acc5f208 /chrome/common/extensions/manifest.h | |
parent | f20deada503880ea93cc24fab3291ab014af2a8c (diff) | |
download | chromium_src-9a494877fcbc832b0c1bce73db3665e64e37f085.zip chromium_src-9a494877fcbc832b0c1bce73db3665e64e37f085.tar.gz chromium_src-9a494877fcbc832b0c1bce73db3665e64e37f085.tar.bz2 |
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
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 |