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

Unified Diff: chrome/common/extensions/extension_file_util.cc

Issue 7585003: Fix to make Chromium more verbose about component extension loading error (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: chrome/common/extensions/extension_file_util.cc
diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc
index a6a85c3b2499d57d6bdbbfbdb9058c71ca740c0f..227b5d588934c90fc06385f43084e83bf4146405 100644
--- a/chrome/common/extensions/extension_file_util.cc
+++ b/chrome/common/extensions/extension_file_util.cc
@@ -139,7 +139,7 @@ scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
return extension;
}
-bool ValidateExtension(Extension* extension, std::string* error) {
+bool ValidateExtension(const Extension* extension, std::string* error) {
// Validate icons exist.
for (ExtensionIconSet::IconMap::const_iterator iter =
extension->icons().map().begin();

Powered by Google App Engine
This is Rietveld 408576698