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

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: 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..161434e76aca6f3f8f158f2fa6ca5e45155d5082 100644
--- a/content/browser/browser_thread_impl.cc
+++ b/content/browser/browser_thread_impl.cc
@@ -226,6 +226,13 @@ 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->PostWorkerTask(from_here, task);
jam 2012/04/05 17:46:53 did you mean to call PostTaskAndReply?
willchan no longer on Chromium 2012/04/06 16:28:44 Thank you for actually reading my code :)
+}
+
// 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