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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 10407009: Add GetIOMessageLoopProxy method to RenderThread interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/renderer/render_thread_impl.h ('k') | content/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
===================================================================
--- content/renderer/render_thread_impl.cc (revision 137169)
+++ content/renderer/render_thread_impl.cc (working copy)
@@ -384,6 +384,11 @@
return sync_message_filter();
}
+scoped_refptr<base::MessageLoopProxy>
+ RenderThreadImpl::GetIOMessageLoopProxy() {
+ return ChildProcess::current()->io_message_loop_proxy();
+}
+
void RenderThreadImpl::AddRoute(int32 routing_id,
IPC::Channel::Listener* listener) {
widget_count_++;
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698