From ec7de0c5ac1ffe869a1c3e03c1f814fac2ae0746 Mon Sep 17 00:00:00 2001 From: "mek@chromium.org" Date: Fri, 16 Nov 2012 07:40:47 +0000 Subject: Add a class to replace ImageLoadingTracker with a nicer API. This adds a new extensions::ImageLoader class, which mostly serves the same purpose as ImageLoadingTracker, but with some differences. It currently doesn't do any caching, and it uses callbacks instead of a delegate to pass the loaded image back to the caller. This should make this new class much nicer to use. Also ported some ILT usage to the new ImageLoader class. BUG=141673 Review URL: https://chromiumcodereview.appspot.com/11027044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168155 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_browser_extensions.gypi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/chrome_browser_extensions.gypi') diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi index f48d260..62a398e0 100644 --- a/chrome/chrome_browser_extensions.gypi +++ b/chrome/chrome_browser_extensions.gypi @@ -532,6 +532,10 @@ 'browser/extensions/external_registry_loader_win.h', 'browser/extensions/file_reader.cc', 'browser/extensions/file_reader.h', + 'browser/extensions/image_loader.cc', + 'browser/extensions/image_loader.h', + 'browser/extensions/image_loader_factory.cc', + 'browser/extensions/image_loader_factory.h', 'browser/extensions/image_loading_tracker.cc', 'browser/extensions/image_loading_tracker.h', 'browser/extensions/installed_loader.cc', -- cgit v1.1