Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Unified Diff: base/task_scheduler/scheduler_worker_thread.h

Issue 1942053002: Deletes base::MessageLoop::set_thread_name(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed media_unittests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/task_scheduler/scheduler_worker_thread.h
diff --git a/base/task_scheduler/scheduler_worker_thread.h b/base/task_scheduler/scheduler_worker_thread.h
index 5de245dcb019a3846b52e57368df2c29e84bd7da..195b37f643fb2584c307e6a2024d6df6303c8a9b 100644
--- a/base/task_scheduler/scheduler_worker_thread.h
+++ b/base/task_scheduler/scheduler_worker_thread.h
@@ -6,6 +6,7 @@
#define BASE_TASK_SCHEDULER_SCHEDULER_WORKER_THREAD_H_
#include <memory>
+#include <string>
#include "base/base_export.h"
#include "base/macros.h"
@@ -63,6 +64,8 @@ class BASE_EXPORT SchedulerWorkerThread : public PlatformThread::Delegate {
// has returned.
~SchedulerWorkerThread() override;
+ std::string GetThreadName() const;
+
// Wakes up this SchedulerWorkerThread if it wasn't already awake. After this
// is called, this SchedulerWorkerThread will run Tasks from Sequences
// returned by the GetWork() method of its delegate until it returns nullptr.

Powered by Google App Engine
This is Rietveld 408576698