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

Unified Diff: chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc

Issue 1547413002: Reland of Change extension icon load errors to warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/api/extension_action/browser_action_manifest_unittest.cc
diff --git a/chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc b/chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc
index fdab935d0ae78107e499fa81e58c935ba1787d92..7a0a64c4effbb346666b386396d7ef8adad234b8 100644
--- a/chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc
+++ b/chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc
@@ -86,6 +86,8 @@
.Set("19", "icon19.png")
.Set("24", "icon24.png")
.Set("38", "icon38.png")))))))
+ // Don't check for existence of icons during parsing.
+ .SetLocation(Manifest::UNPACKED)
.Build();
ASSERT_TRUE(extension.get());

Powered by Google App Engine
This is Rietveld 408576698