Index: base/single_thread_task_runner.h |
diff --git a/base/single_thread_task_runner.h b/base/single_thread_task_runner.h |
index 6e9319314894c3f8ed52269c9e526c96fa92e6d5..7778c52d13d9aebad382a6ab44ba8453df275027 100644 |
--- a/base/single_thread_task_runner.h |
+++ b/base/single_thread_task_runner.h |
@@ -29,6 +29,9 @@ class BASE_EXPORT SingleThreadTaskRunner : public SequencedTaskRunner { |
return RunsTasksOnCurrentThread(); |
} |
+ // Returns the name of the thread this TaskRunner is associated with. |
+ virtual const char* GetThreadName() const = 0; |
jam
2016/05/06 16:50:23
premature optimization to return const char* inste
alokp
2016/05/07 04:14:05
Done.
|
+ |
protected: |
~SingleThreadTaskRunner() override {} |
}; |