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

Unified Diff: content/browser/browser_thread_impl.cc

Issue 10007010: Add BrowserThread::PostBlockingTaskAndReply. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops Created 8 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 | « no previous file | content/public/browser/browser_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_impl.cc
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc
index 21b84965796bd6868e62b18751f727ed829769b0..15ee09a97f3379bb41a04ca2d35e56683c42e8ce 100644
--- a/content/browser/browser_thread_impl.cc
+++ b/content/browser/browser_thread_impl.cc
@@ -226,6 +226,14 @@ bool BrowserThread::PostBlockingPoolTask(
return g_globals.Get().blocking_pool->PostWorkerTask(from_here, task);
}
+bool BrowserThread::PostBlockingPoolTaskAndReply(
+ const tracked_objects::Location& from_here,
+ const base::Closure& task,
+ const base::Closure& reply) {
+ return g_globals.Get().blocking_pool->PostTaskAndReply(
+ from_here, task, reply);
+}
+
// static
bool BrowserThread::PostBlockingPoolSequencedTask(
const std::string& sequence_token_name,
« no previous file with comments | « no previous file | content/public/browser/browser_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698