Index: components/printing/test/print_mock_render_thread.h |
diff --git a/components/printing/test/print_mock_render_thread.h b/components/printing/test/print_mock_render_thread.h |
index fdec4b289251d5aea1af953aff5b4b6485e9e838..a5efe2ed4706bc943ff57dda2593dd7c9de4102f 100644 |
--- a/components/printing/test/print_mock_render_thread.h |
+++ b/components/printing/test/print_mock_render_thread.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "base/compiler_specific.h" |
+#include "base/single_thread_task_runner.h" |
#include "content/public/test/mock_render_thread.h" |
namespace base { |
@@ -36,7 +37,7 @@ class PrintMockRenderThread : public content::MockRenderThread { |
// Set IO message loop proxy. |
void set_io_message_loop_proxy( |
- const scoped_refptr<base::MessageLoopProxy>& proxy); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); |
#if defined(ENABLE_PRINTING) |
// Returns the pseudo-printer instance. |
@@ -101,7 +102,7 @@ class PrintMockRenderThread : public content::MockRenderThread { |
int print_preview_pages_remaining_; |
#endif |
- scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; |
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
DISALLOW_COPY_AND_ASSIGN(PrintMockRenderThread); |
}; |