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

Unified Diff: content/browser/download/download_file.h

Issue 2890853002: Downloads: replace BrowserThread::FILE with task scheduler. (Closed)
Patch Set: Address Avi's comments. Created 3 years, 5 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
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file.h
diff --git a/content/browser/download/download_file.h b/content/browser/download/download_file.h
index 4b1aac72b45d6f2dafcc8550f34e114532ccb76f..e8dca961c5f33e2aa088fa43953ead0da3847329 100644
--- a/content/browser/download/download_file.h
+++ b/content/browser/download/download_file.h
@@ -22,9 +22,9 @@ namespace content {
class ByteStreamReader;
-// These objects live exclusively on the file thread and handle the writing
-// operations for one download. These objects live only for the duration that
-// the download is 'in progress': once the download has been completed or
+// These objects live exclusively on the download sequence and handle the
+// writing operations for one download. These objects live only for the duration
+// that the download is 'in progress': once the download has been completed or
// cancelled, the DownloadFile is destroyed.
class CONTENT_EXPORT DownloadFile {
public:
@@ -43,7 +43,7 @@ class CONTENT_EXPORT DownloadFile {
RenameCompletionCallback;
// Used to drop the request, when the byte stream reader should be closed on
- // FILE thread.
+ // download sequence.
typedef base::Callback<void(int64_t offset)> CancelRequestCallback;
virtual ~DownloadFile() {}
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698