Chromium Code Reviews| Index: components/scheduler/child/task_queue_impl.h |
| diff --git a/components/scheduler/child/task_queue_impl.h b/components/scheduler/child/task_queue_impl.h |
| index 7aef6caf46c722c74789aea707726ed656865294..0801c0438aa6c742f0a6d302397e4a17dfa96691 100644 |
| --- a/components/scheduler/child/task_queue_impl.h |
| +++ b/components/scheduler/child/task_queue_impl.h |
| @@ -98,6 +98,8 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue { |
| } |
| const char* GetName() const override; |
| + void SetOrigin(const std::string& origin) override; |
| + const std::string& GetOrigin() override; |
| void AsValueInto(base::trace_event::TracedValue* state) const; |
| @@ -191,6 +193,7 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue { |
| PumpPolicy pump_policy_; |
| std::priority_queue<Task> delayed_task_queue_; |
| + std::string origin_; |
|
Sami
2015/09/10 12:51:57
Looks like origin_ is protected by the lock but it
alex clarke (OOO till 29th)
2015/09/10 14:35:58
Done.
|
| const char* name_; |
| const char* disabled_by_default_tracing_category_; |
| const char* disabled_by_default_verbose_tracing_category_; |