| Index: ios/chrome/browser/reading_list/url_downloader.h
|
| diff --git a/ios/chrome/browser/reading_list/url_downloader.h b/ios/chrome/browser/reading_list/url_downloader.h
|
| index c5758987b60f6c7c40f7c7102d47929680089004..24beb41709895c897fffe95827b12fb25d4d47f0 100644
|
| --- a/ios/chrome/browser/reading_list/url_downloader.h
|
| +++ b/ios/chrome/browser/reading_list/url_downloader.h
|
| @@ -97,6 +97,9 @@ class URLDownloader : public net::URLFetcherDelegate,
|
| // URLFetcherDelegate delegate method.
|
| void OnURLFetchComplete(const net::URLFetcher* source) override;
|
|
|
| + // Cancels the current download task.
|
| + void CancelTask();
|
| +
|
| private:
|
| enum TaskType { DELETE, DOWNLOAD };
|
| using Task = std::pair<TaskType, GURL>;
|
|
|