summaryrefslogtreecommitdiffstats
path: root/extensions/common/manifest_handler_helpers.h
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2015-12-07 17:14:44 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-08 01:15:32 +0000
commitfd2986d06d57ad04fc6f8db79ddb7a42d6445e03 (patch)
tree9966f25630ef76d2c3db1579b7838a276c4abd54 /extensions/common/manifest_handler_helpers.h
parent15b58d72a18f0a59cac142cfb81245d0bf3ae077 (diff)
downloadchromium_src-fd2986d06d57ad04fc6f8db79ddb7a42d6445e03.zip
chromium_src-fd2986d06d57ad04fc6f8db79ddb7a42d6445e03.tar.gz
chromium_src-fd2986d06d57ad04fc6f8db79ddb7a42d6445e03.tar.bz2
Allow arbitrary sizes for extension icons (and bookmark app icons)
BUG=564926 Review URL: https://codereview.chromium.org/1504453002 Cr-Commit-Position: refs/heads/master@{#363669}
Diffstat (limited to 'extensions/common/manifest_handler_helpers.h')
-rw-r--r--extensions/common/manifest_handler_helpers.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/extensions/common/manifest_handler_helpers.h b/extensions/common/manifest_handler_helpers.h
index 4f88174..b0249c3 100644
--- a/extensions/common/manifest_handler_helpers.h
+++ b/extensions/common/manifest_handler_helpers.h
@@ -24,20 +24,12 @@ namespace manifest_handler_helpers {
bool NormalizeAndValidatePath(std::string* path);
// Loads icon paths defined in dictionary |icons_value| into ExtensionIconSet
-// |icons|. |icons_value| is a dictionary value {icon size -> icon path}. Icons
-// in |icons_value| whose size is not in |icon_sizes| will be ignored.
+// |icons|. |icons_value| is a dictionary value {icon size -> icon path}.
// Returns success. If load fails, |error| will be set.
bool LoadIconsFromDictionary(const base::DictionaryValue* icons_value,
- const int* icon_sizes,
- size_t num_icon_sizes,
ExtensionIconSet* icons,
base::string16* error);
-// As above, but loads all icons in |icons_value|.
-bool LoadAllIconsFromDictionary(const base::DictionaryValue* icons_value,
- ExtensionIconSet* icons,
- base::string16* error);
-
} // namespace manifest_handler_helpers
} // namespace extensions