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

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

Issue 12042096: Move page action manifest parsing out of Extension; the first multi-key manifest handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bbe970b1ec87c99407335d908563cacc1e3cc30e..d0c422f3deaec3702fc6b0b81483faeff152b1a2 100644
--- a/chrome/common/extensions/extension_file_util.cc
+++ b/chrome/common/extensions/extension_file_util.cc
@@ -340,7 +340,8 @@ bool ValidateExtension(const Extension* extension,
}
}
- const extensions::ActionInfo* action = extension->page_action_info();
+ const extensions::ActionInfo* action =
+ extensions::ActionInfo::GetPageActionInfo(extension);
if (action && !action->default_icon.empty() &&
!ValidateExtensionIconSet(action->default_icon, extension,
IDS_EXTENSION_LOAD_ICON_FOR_PAGE_ACTION_FAILED, error)) {
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698