| 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 a9469900f2c1afe142e04037bfdf8f12b5092dab..905e516d33276ffd2ab39554a3ce883725bd7a2d 100644
|
| --- a/ios/web/web_state/web_state_impl.h
|
| +++ b/ios/web/web_state/web_state_impl.h
|
| @@ -43,6 +43,7 @@
|
| struct FaviconURL;
|
| struct LoadCommittedDetails;
|
| class NavigationManager;
|
| +class ImageDataFetcher;
|
| class WebInterstitialImpl;
|
| class WebStateFacadeDelegate;
|
| class WebStatePolicyDecider;
|
| @@ -226,6 +227,11 @@
|
| 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;
|
|
|
| @@ -349,6 +355,9 @@
|
| // 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);
|
| };
|
|
|
|
|