Index: chrome/browser/extensions/image_loading_tracker.h |
=================================================================== |
--- chrome/browser/extensions/image_loading_tracker.h (revision 130900) |
+++ chrome/browser/extensions/image_loading_tracker.h (working copy) |
@@ -122,6 +122,13 @@ |
void OnImageLoaded(SkBitmap* image, const ExtensionResource& resource, |
const gfx::Size& original_size, int id, bool should_cache); |
+ // Tries loading component extension image. These usually come from resources |
+ // instead of file system. Returns NULL if a given |resource| does not have |
+ // a corresponding image in bundled resources. |
+ SkBitmap *TryLoadingComponentExtensionImage( |
+ const Extension* extension, |
+ const ExtensionResource& resource); |
+ |
// content::NotificationObserver method. If an extension is uninstalled while |
// we're waiting for the image we remove the entry from load_map_. |
virtual void Observe(int type, |