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

Unified Diff: base/task_scheduler/scheduler_worker_pool_params.h

Issue 2788223002: Generate TaskScheduler::InitParams from components/task_scheduler_util/. (Closed)
Patch Set: fix-build-error Created 3 years, 8 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 | « no previous file | components/task_scheduler_util/browser/initialization.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/scheduler_worker_pool_params.h
diff --git a/base/task_scheduler/scheduler_worker_pool_params.h b/base/task_scheduler/scheduler_worker_pool_params.h
index daa1319cb26528766b32988ee5cd65c619c754a9..ca2aafc85edb6328d5bdd3ea05026b7e118b12af 100644
--- a/base/task_scheduler/scheduler_worker_pool_params.h
+++ b/base/task_scheduler/scheduler_worker_pool_params.h
@@ -60,7 +60,7 @@ class BASE_EXPORT SchedulerWorkerPoolParams final {
StandbyThreadPolicy standby_thread_policy() const {
return standby_thread_policy_;
}
- size_t max_threads() const { return max_threads_; }
+ int max_threads() const { return max_threads_; }
TimeDelta suggested_reclaim_time() const { return suggested_reclaim_time_; }
SchedulerBackwardCompatibility backward_compatibility() const {
return backward_compatibility_;
@@ -71,7 +71,7 @@ class BASE_EXPORT SchedulerWorkerPoolParams final {
std::string name_;
ThreadPriority priority_hint_;
StandbyThreadPolicy standby_thread_policy_;
- size_t max_threads_;
+ int max_threads_;
TimeDelta suggested_reclaim_time_;
SchedulerBackwardCompatibility backward_compatibility_;
};
« no previous file with comments | « no previous file | components/task_scheduler_util/browser/initialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698