Index: base/task_scheduler/task_traits.h |
diff --git a/base/task_scheduler/task_traits.h b/base/task_scheduler/task_traits.h |
index 523fd137b66557e7146f1774b661b8b8e3cf6d5e..9a1b2222d246ad72e9cc9ae45120bae94cfcfe0b 100644 |
--- a/base/task_scheduler/task_traits.h |
+++ b/base/task_scheduler/task_traits.h |
@@ -107,6 +107,8 @@ class BASE_EXPORT TaskTraits { |
// Returns the shutdown behavior of tasks with these traits. |
TaskShutdownBehavior shutdown_behavior() const { return shutdown_behavior_; } |
+ bool operator==(const TaskTraits& other) const; |
+ |
private: |
bool with_file_io_; |
TaskPriority priority_; |