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

Unified Diff: ios/chrome/browser/reading_list/url_downloader.h

Issue 2703773002: [IOS Reading List] Change handling of distillation error. (Closed)
Patch Set: feedback 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/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 862df2afd809926d0384ee3dd9bc82aab90ddc69..793bd3c354cfdd1a9dd5e04f3926e98a47017750 100644
--- a/ios/chrome/browser/reading_list/url_downloader.h
+++ b/ios/chrome/browser/reading_list/url_downloader.h
@@ -48,12 +48,9 @@ class URLDownloader : public net::URLFetcherDelegate,
DOWNLOAD_SUCCESS,
// The URL was already available offline. No action was done.
DOWNLOAD_EXISTS,
- // The URL could not be downloaded because of a temporary error. Client may
- // want to try again later.
- ERROR_RETRY,
- // The URL could not be dowmloaded and URLDownloader thinks a retry would
- // end with the same result. There is no need to retry.
- ERROR_PERMANENT
+ // The URL could not be downloaded because of an error. Client may want to
+ // try again later.
+ ERROR,
};
// A completion callback that takes a GURL and a bool indicating the
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_download_service.cc ('k') | ios/chrome/browser/reading_list/url_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698