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

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

Issue 2745313004: Remove all ReadingList entries on managed account signout. (Closed)
Patch Set: feedback Created 3 years, 9 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 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>;
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_remover_helper.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