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

Unified Diff: content/public/child/worker_thread.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/public/browser/content_browser_client.cc ('k') | content/renderer/categorized_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/worker_thread.h
diff --git a/content/public/child/worker_thread.h b/content/public/child/worker_thread.h
index c35ce8bd243b2d7356cb2a1816527490b28e9db5..926b3bd95865fec8567064c6ef67d3cdf37a2fcd 100644
--- a/content/public/child/worker_thread.h
+++ b/content/public/child/worker_thread.h
@@ -42,7 +42,7 @@ class CONTENT_EXPORT WorkerThread {
static int GetCurrentId();
// Posts a task to the worker thread with ID |id|. ID must be > 0.
- static void PostTask(int id, base::Closure task);
+ static void PostTask(int id, base::OnceClosure task);
private:
WorkerThread(){};
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/categorized_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698