| Index: base/task_scheduler/task_traits.cc
|
| diff --git a/base/task_scheduler/task_traits.cc b/base/task_scheduler/task_traits.cc
|
| index 5a0906402ecb251a2a8f3d83f00ae599c64d5bb5..ad0e37f887166009b9608cf680a90d505e276f45 100644
|
| --- a/base/task_scheduler/task_traits.cc
|
| +++ b/base/task_scheduler/task_traits.cc
|
| @@ -34,6 +34,11 @@ TaskTraits& TaskTraits::WithShutdownBehavior(
|
| return *this;
|
| }
|
|
|
| +bool TaskTraits::operator==(const TaskTraits& other) const {
|
| + return with_file_io_ == other.with_file_io_ && priority_ == other.priority_ &&
|
| + shutdown_behavior_ == other.shutdown_behavior_;
|
| +}
|
| +
|
| std::ostream& operator<<(std::ostream& os, const TaskPriority& task_priority) {
|
| switch (task_priority) {
|
| case TaskPriority::BACKGROUND:
|
|
|