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

Unified Diff: chrome/browser/extensions/image_loading_tracker.h

Issue 11027044: Add a class to replace ImageLoadingTracker with a nicer API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix include order Created 8 years, 1 month 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/extensions/image_loading_tracker.h
diff --git a/chrome/browser/extensions/image_loading_tracker.h b/chrome/browser/extensions/image_loading_tracker.h
index 5eefcd1840f2a66637a06a13204562ae1f476b04..f820cda9781557a00c39291b47c1a2647022dfc0 100644
--- a/chrome/browser/extensions/image_loading_tracker.h
+++ b/chrome/browser/extensions/image_loading_tracker.h
@@ -122,14 +122,6 @@ class ImageLoadingTracker : public content::NotificationObserver {
// OnImageLoaded() the next time LoadImage() is invoked.
int next_id() const { return next_id_; }
- // Checks whether image is a component extension resource. Returns false
- // if a given |resource| does not have a corresponding image in bundled
- // resources. Otherwise fills |resource_id|.
- static bool IsComponentExtensionResource(
- const extensions::Extension* extension,
- const FilePath& resource_path,
- int* resource_id);
-
private:
// Information for pending resource load operation for one or more image
// representations.

Powered by Google App Engine
This is Rietveld 408576698