| Index: ios/public/provider/chrome/browser/native_app_launcher/native_app_metadata.h
|
| diff --git a/ios/public/provider/chrome/browser/native_app_launcher/native_app_metadata.h b/ios/public/provider/chrome/browser/native_app_launcher/native_app_metadata.h
|
| index 349a5bdfcf2ac95e0ced90ff598a0136e44df827..df03e0bf4d52a8eecedd7d6cba1188ad3595bd31 100644
|
| --- a/ios/public/provider/chrome/browser/native_app_launcher/native_app_metadata.h
|
| +++ b/ios/public/provider/chrome/browser/native_app_launcher/native_app_metadata.h
|
| @@ -13,6 +13,10 @@
|
| class GURL;
|
| @class UIImage;
|
|
|
| +namespace image_fetcher {
|
| +class IOSImageDataFetcherWrapper;
|
| +}
|
| +
|
| namespace net {
|
| class URLRequestContextGetter;
|
| }
|
| @@ -59,9 +63,11 @@ class URLRequestContextGetter;
|
| // Returns the URL to test if the app is installed.
|
| - (NSURL*)appURLforURL:(NSURL*)url;
|
|
|
| -// Calls |block| with the application icon. |contextGetter| must not be nil.
|
| -- (void)fetchSmallIconWithContext:(net::URLRequestContextGetter*)contextGetter
|
| - completionBlock:(void (^)(UIImage*))block;
|
| +// Calls |block| with the application icon. |imageFetcher| must be kept alive
|
| +// during the fetch.
|
| +- (void)fetchSmallIconWithImageFetcher:
|
| + (image_fetcher::IOSImageDataFetcherWrapper*)imageFetcher
|
| + completionBlock:(void (^)(UIImage*))block;
|
|
|
| // Returns whether this native application can open the |url|.
|
| - (BOOL)canOpenURL:(const GURL&)url;
|
|
|