Chromium Code Reviews| 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. |