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

Unified Diff: base/task_scheduler/scheduler_worker_pool_params.h

Issue 2686593003: DESIGN DISCUSSION ONLY Task Scheduler Single Thread Task Runner Manager for Dedicated Threads per S… (Closed)
Patch Set: Wait for Detached Thread to Complete Created 3 years, 10 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: 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 5f90fd482d0c18206b5b32758a844e10bc685c72..4c0548c5226b15d2b94f2a46ede76dde9e48181c 100644
--- a/base/task_scheduler/scheduler_worker_pool_params.h
+++ b/base/task_scheduler/scheduler_worker_pool_params.h
@@ -7,7 +7,6 @@
#include <string>
-#include "base/macros.h"
#include "base/task_scheduler/scheduler_worker_params.h"
#include "base/threading/platform_thread.h"
#include "base/time/time.h"
@@ -42,8 +41,8 @@ class BASE_EXPORT SchedulerWorkerPoolParams final {
TimeDelta suggested_reclaim_time,
SchedulerBackwardCompatibility backward_compatibility =
SchedulerBackwardCompatibility::DISABLED);
- SchedulerWorkerPoolParams(SchedulerWorkerPoolParams&& other);
- SchedulerWorkerPoolParams& operator=(SchedulerWorkerPoolParams&& other);
+ SchedulerWorkerPoolParams(const SchedulerWorkerPoolParams& other);
+ SchedulerWorkerPoolParams& operator=(const SchedulerWorkerPoolParams& other);
const std::string& name() const { return name_; }
ThreadPriority priority_hint() const { return priority_hint_; }
@@ -63,8 +62,6 @@ class BASE_EXPORT SchedulerWorkerPoolParams final {
size_t max_threads_;
TimeDelta suggested_reclaim_time_;
SchedulerBackwardCompatibility backward_compatibility_;
-
- DISALLOW_COPY_AND_ASSIGN(SchedulerWorkerPoolParams);
};
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698