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

Unified Diff: content/browser/browser_thread_impl.h

Issue 2122543002: Replace Closure in TaskRunner::PostTask with OneShotCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@07_oneshot
Patch Set: fix Created 4 years, 3 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 | « components/user_manager/fake_user_manager.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_impl.h
diff --git a/content/browser/browser_thread_impl.h b/content/browser/browser_thread_impl.h
index e86f4ec907a76f9fe3aab439db527f4d94f94935..02576941f69828833e16703206e3ed4ed62a055b 100644
--- a/content/browser/browser_thread_impl.h
+++ b/content/browser/browser_thread_impl.h
@@ -53,12 +53,11 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread,
void CacheThreadRun(base::RunLoop* run_loop);
void IOThreadRun(base::RunLoop* run_loop);
- static bool PostTaskHelper(
- BrowserThread::ID identifier,
- const tracked_objects::Location& from_here,
- const base::Closure& task,
- base::TimeDelta delay,
- bool nestable);
+ static bool PostTaskHelper(BrowserThread::ID identifier,
+ const tracked_objects::Location& from_here,
+ base::OnceClosure task,
+ base::TimeDelta delay,
+ bool nestable);
// Common initialization code for the constructors.
void Initialize();
« no previous file with comments | « components/user_manager/fake_user_manager.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698