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

Unified Diff: components/download/public/download_params.h

Issue 2870753003: Add a Model to the download component. (Closed)
Patch Set: Created 3 years, 7 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: components/download/public/download_params.h
diff --git a/components/download/public/download_params.h b/components/download/public/download_params.h
index 922690031321f8a491a383b20f2edb12ac0eda64..dcf25b41986ac9b8810ab884e7e21a5c742f9e37 100644
--- a/components/download/public/download_params.h
+++ b/components/download/public/download_params.h
@@ -67,8 +67,8 @@ struct SchedulingParams {
SchedulingParams(const SchedulingParams& other) = default;
~SchedulingParams() = default;
- // Cancel the download after this delay. Will cancel in-progress downloads.
- base::TimeDelta cancel_after;
+ // Cancel the download after this time. Will cancel in-progress downloads.
+ base::Time cancel_time;
// The suggested priority. Non-UI priorities may not be honored by the
// DownloadService based on internal criteria and settings.

Powered by Google App Engine
This is Rietveld 408576698