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

Unified Diff: extensions/common/manifest.cc

Issue 22938005: Add ErrorConsole UI for Extension Install Warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_install_warnings
Patch Set: Requested UI Changes Created 7 years, 4 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: extensions/common/manifest.cc
diff --git a/extensions/common/manifest.cc b/extensions/common/manifest.cc
index eaaaf76061b120430effecd50dd2bfd20efc4215..85b5d986f99b61223aea700868004717812c24fb 100644
--- a/extensions/common/manifest.cc
+++ b/extensions/common/manifest.cc
@@ -160,8 +160,8 @@ bool Manifest::ValidateManifest(
it.Advance()) {
if (!provider->GetFeature(it.key())) {
warnings->push_back(InstallWarning(
- base::StringPrintf("Unrecognized manifest key '%s'.",
- it.key().c_str()),
+ ErrorUtils::FormatErrorMessage(
+ manifest_errors::kUnrecognizedManifestKey, it.key()),
it.key()));
}
}

Powered by Google App Engine
This is Rietveld 408576698