Chromium Code Reviews| Index: ios/chrome/browser/reading_list/reading_list_download_service.h |
| diff --git a/ios/chrome/browser/reading_list/reading_list_download_service.h b/ios/chrome/browser/reading_list/reading_list_download_service.h |
| index 9d3a285703c037d0d24a9e7f2d823a11446e3877..22a09f9e0686801c2e2e6cd83e7f7349d82675e4 100644 |
| --- a/ios/chrome/browser/reading_list/reading_list_download_service.h |
| +++ b/ios/chrome/browser/reading_list/reading_list_download_service.h |
| @@ -8,10 +8,10 @@ |
| #include "base/macros.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| #include "ios/chrome/browser/reading_list/reading_list_model_observer.h" |
| +#include "ios/chrome/browser/reading_list/url_downloader.h" |
| class GURL; |
| class PrefService; |
| -class URLDownloader; |
| class ReadingListModel; |
| namespace base { |
| class FilePath; |
| @@ -63,7 +63,10 @@ class ReadingListDownloadService : public KeyedService, |
| // only be called after reading list model is loaded. |
| void RemoveDownloadedEntry(const ReadingListEntry& entry); |
| // Callback for entry download. |
| - void OnDownloadEnd(const GURL& url, bool success); |
| + void OnDownloadEnd(const GURL& url, |
| + URLDownloader::SuccessState success, |
| + const GURL& distilledURL, |
|
sdefresne
2016/09/09 09:58:57
style: s/distilledURL/distilled_url/
lody
2016/09/09 12:17:53
Done.
|
| + const std::string& title); |
| // Callback for entry deletion. |
| void OnDeleteEnd(const GURL& url, bool success); |