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

Unified Diff: chrome/common/extensions/extension.h

Issue 10843014: Generalize ExtensionIconSet to store icon paths for custom size sets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 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.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index a991645308a5513276474924d2f77d63ce626c1f..74dd479087f222aa4cf59da8d2f79148c7aa72f5 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -400,7 +400,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// called on the file thread. To easily load extension images on the UI
// thread, see ImageLoadingTracker.
static void DecodeIcon(const Extension* extension,
- ExtensionIconSet::Icons icon_size,
+ int icon_size,
ExtensionIconSet::MatchType match_type,
scoped_ptr<SkBitmap>* result);
@@ -409,7 +409,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// file thread. To easily load extension images on the UI thread, see
// ImageLoadingTracker.
static void DecodeIcon(const Extension* extension,
- ExtensionIconSet::Icons icon_size,
+ int icon_size,
scoped_ptr<SkBitmap>* result);
// Given an icon_path and icon size, read it if present and decode it into
@@ -417,7 +417,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// file thread. To easily load extension images on the UI thread, see
// ImageLoadingTracker.
static void DecodeIconFromPath(const FilePath& icon_path,
- ExtensionIconSet::Icons icon_size,
+ int icon_size,
scoped_ptr<SkBitmap>* result);
// Returns the default extension/app icon (for extensions or apps that don't

Powered by Google App Engine
This is Rietveld 408576698