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

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

Issue 2895953004: Add initial Controller to DownloadService (Closed)
Patch Set: Rebased 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
« no previous file with comments | « components/download/internal/client_set_unittest.cc ('k') | components/download/internal/config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
// 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.
« no previous file with comments | « components/download/internal/client_set_unittest.cc ('k') | components/download/internal/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698