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

Unified Diff: content/child/worker_thread_registry.h

Issue 2637843002: Migrate base::TaskRunner from Closure to OnceClosure (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « content/browser/startup_task_runner_unittest.cc ('k') | content/child/worker_thread_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/worker_thread_registry.h
diff --git a/content/child/worker_thread_registry.h b/content/child/worker_thread_registry.h
index 3e8f994da6733708b9d83fc6f45ffff5aa6d8f4b..657d88c8666c5bb8255940f6190e9484e77cb278 100644
--- a/content/child/worker_thread_registry.h
+++ b/content/child/worker_thread_registry.h
@@ -39,7 +39,7 @@ class CONTENT_EXPORT WorkerThreadRegistry {
friend class WorkerThread;
friend class WorkerThreadRegistryTest;
- bool PostTask(int id, base::Closure task);
+ bool PostTask(int id, base::OnceClosure task);
using IDToTaskRunnerMap = std::map<base::PlatformThreadId, base::TaskRunner*>;
« no previous file with comments | « content/browser/startup_task_runner_unittest.cc ('k') | content/child/worker_thread_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698