Index: content/browser/browser_thread.cc |
diff --git a/content/browser/browser_thread.cc b/content/browser/browser_thread.cc |
index b4d95ce32f93f4c71be291cb1bd697abc90eb2f7..c3b400540e8d8897a68ea7cccccd4340f4b65908 100644 |
--- a/content/browser/browser_thread.cc |
+++ b/content/browser/browser_thread.cc |
@@ -4,6 +4,7 @@ |
#include "content/browser/browser_thread.h" |
+#include "base/bind.h" |
#include "base/message_loop.h" |
#include "base/message_loop_proxy.h" |
#include "base/threading/thread_restrictions.h" |
@@ -221,6 +222,17 @@ bool BrowserThread::PostNonNestableDelayedTask( |
} |
// static |
+bool BrowserThread::PostTaskAndReply( |
+ ID identifier, |
+ const tracked_objects::Location& from_here, |
+ const base::Closure& task, |
+ const base::Closure& reply) { |
+ return GetMessageLoopProxyForThread(identifier)->PostTaskAndReply(from_here, |
+ task, |
+ reply); |
+} |
+ |
+// static |
bool BrowserThread::GetCurrentThreadIdentifier(ID* identifier) { |
// We shouldn't use MessageLoop::current() since it uses LazyInstance which |
// may be deleted by ~AtExitManager when a WorkerPool thread calls this |