summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/manifest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/manifest.cc')
-rw-r--r--chrome/common/extensions/manifest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc
index 5f8df9c..2561762 100644
--- a/chrome/common/extensions/manifest.cc
+++ b/chrome/common/extensions/manifest.cc
@@ -114,7 +114,7 @@ std::set<std::string> Manifest::GetAllKnownKeys() {
Manifest::Manifest(DictionaryValue* value) : value_(value) {}
Manifest::~Manifest() {}
-bool Manifest::ValidateManifest(std::string* error) const {
+bool Manifest::ValidateManifest(string16* error) const {
Restrictions restrictions = g_restrictions.Get();
Type type = GetType();
@@ -129,7 +129,7 @@ bool Manifest::ValidateManifest(std::string* error) const {
}
if (!restrictions.CanAccessKey(*key, type)) {
- *error = ExtensionErrorUtils::FormatErrorMessage(
+ *error = ExtensionErrorUtils::FormatErrorMessageUTF16(
errors::kFeatureNotAllowed, *key);
return false;
}