| Index: components/scheduler/child/task_queue.h
|
| diff --git a/components/scheduler/child/task_queue.h b/components/scheduler/child/task_queue.h
|
| index e4ce9ee50e78a875ad183c0091d4d5dfe051a436..483e5e08d80808c7fec9d9278853a512098d2690 100644
|
| --- a/components/scheduler/child/task_queue.h
|
| +++ b/components/scheduler/child/task_queue.h
|
| @@ -149,6 +149,14 @@ class SCHEDULER_EXPORT TaskQueue : public base::SingleThreadTaskRunner {
|
| // Can be called on any thread.
|
| virtual const char* GetName() const = 0;
|
|
|
| + // Sets the origin associated with the task queue (if any).
|
| + // Can be called on any thread.
|
| + virtual void SetOrigin(const std::string& origin) = 0;
|
| +
|
| + // Gets the origin associated with the task queue (default is "").
|
| + // Can be called on any thread.
|
| + virtual const std::string& GetOrigin() = 0;
|
| +
|
| // Set the priority of the queue to |priority|. NOTE this must be called on
|
| // the thread this TaskQueue was created by.
|
| virtual void SetQueuePriority(QueuePriority priority) = 0;
|
|
|