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

Unified Diff: ios/web/web_state/web_state_impl.h

Issue 2677993002: Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Add header 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: ios/web/web_state/web_state_impl.h
diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
index 28fa5c7971ffa2918f248eb244e9552694c4db05..1ea2be680d7ea6d3d315204ad0b02f510dffea92 100644
--- a/ios/web/web_state/web_state_impl.h
+++ b/ios/web/web_state/web_state_impl.h
@@ -43,7 +43,6 @@ struct Credential;
struct FaviconURL;
struct LoadCommittedDetails;
class NavigationManager;
-class ImageDataFetcher;
class WebInterstitialImpl;
class WebStateFacadeDelegate;
class WebStatePolicyDecider;
@@ -228,11 +227,6 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
const std::string& command_prefix) override;
void RemoveScriptCommandCallback(const std::string& command_prefix) override;
id<CRWWebViewProxy> GetWebViewProxy() const override;
- int DownloadImage(const GURL& url,
- bool is_favicon,
- uint32_t max_bitmap_size,
- bool bypass_cache,
- const ImageDownloadCallback& callback) override;
service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override;
base::WeakPtr<WebState> AsWeakPtr() override;
@@ -352,9 +346,6 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
// Mojo interface registry for this WebState.
std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_;
- // Image Fetcher used to images.
- std::unique_ptr<ImageDataFetcher> image_fetcher_;
-
DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
};

Powered by Google App Engine
This is Rietveld 408576698