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

Unified Diff: chrome/browser/ui/webui/extensions/extension_icon_source.h

Issue 9979001: Attempt to load component extension favicon from the resources first. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/browser/ui/webui/extensions/extension_icon_source.h
===================================================================
--- chrome/browser/ui/webui/extensions/extension_icon_source.h (revision 131549)
+++ chrome/browser/ui/webui/extensions/extension_icon_source.h (working copy)
@@ -78,9 +78,6 @@
// Encapsulates the request parameters for |request_id|.
struct ExtensionIconRequest;
- // Returns the bitmap for the webstore icon.
- const SkBitmap* GetWebStoreImage();
-
// Returns the bitmap for the default app image.
const SkBitmap* GetDefaultAppImage();
@@ -95,12 +92,6 @@
// Loads the default image for |request_id| and returns to the client.
void LoadDefaultImage(int request_id);
- // Tries loading component extension image. These usually come from resources
- // instead of file system. Returns false if a given |icon| does not have
- // a corresponding image in bundled resources.
- bool TryLoadingComponentExtensionImage(const ExtensionResource& icon,
- int request_id);
-
// Loads the extension's |icon| for the given |request_id| and returns the
// image to the client.
void LoadExtensionImage(const ExtensionResource& icon, int request_id);

Powered by Google App Engine
This is Rietveld 408576698