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

Unified Diff: components/favicon/ios/web_favicon_driver.h

Issue 2677993002: Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Created 3 years, 10 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: components/favicon/ios/web_favicon_driver.h
diff --git a/components/favicon/ios/web_favicon_driver.h b/components/favicon/ios/web_favicon_driver.h
index b5209a1b7a0a5067db20c93bb3e054ad3e18fcef..2c2aeaf0b28b6e72490196407cd742a5d6ba1848 100644
--- a/components/favicon/ios/web_favicon_driver.h
+++ b/components/favicon/ios/web_favicon_driver.h
@@ -10,6 +10,10 @@
#include "ios/web/public/web_state/web_state_observer.h"
#include "ios/web/public/web_state/web_state_user_data.h"
+namespace image_fetcher {
+class IOSImageDataFetcherWrapper;
+}
+
namespace web {
class WebState;
}
@@ -58,6 +62,9 @@ class WebFaviconDriver : public web::WebStateObserver,
// The URL passed to FetchFavicon().
GURL fetch_favicon_url_;
+ // Image Fetcher used to images.
Marc Treib 2017/02/06 12:35:49 This sentence no verb :)
gambard 2017/02/06 15:58:28 Done.
+ std::unique_ptr<image_fetcher::IOSImageDataFetcherWrapper> image_fetcher_;
Marc Treib 2017/02/06 12:35:49 nit: #include <memory>
gambard 2017/02/06 15:58:28 Done.
+
DISALLOW_COPY_AND_ASSIGN(WebFaviconDriver);
};

Powered by Google App Engine
This is Rietveld 408576698