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

Unified Diff: components/download/internal/config.h

Issue 2895953004: Add initial Controller to DownloadService (Closed)
Patch Set: Moved stats out 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/internal/config.h
diff --git a/components/download/internal/config.h b/components/download/internal/config.h
index c5b3b0d44d30a1cdfe17b5fc800b52f4adbbd64f..6dc23f17f909dc3fbdbd761f4e58f580b2913776 100644
--- a/components/download/internal/config.h
+++ b/components/download/internal/config.h
@@ -39,18 +39,18 @@ struct Configuration {
// The maximum number of downloads the DownloadService can have currently in
// Active or Paused states.
- int max_concurrent_downloads;
+ uint32_t max_concurrent_downloads;
xingliu 2017/05/27 00:25:32 nit: Maybe also change the parsing function in con
David Trainor- moved to gerrit 2017/05/30 18:55:23 Done.
// The maximum number of downloads the DownloadService can have currently in
// only Active state.
- int max_running_downloads;
+ uint32_t max_running_downloads;
// The maximum number of downloads that are scheduled but not yet in Active
// state, for each client using the download service.
- int max_scheduled_downloads;
+ uint32_t max_scheduled_downloads;
// The maximum number of retries before the download is aborted.
- int max_retry_count;
+ uint32_t max_retry_count;
// The time that the download service will keep the files around before
// deleting them if the client hasn't handle the files.

Powered by Google App Engine
This is Rietveld 408576698