Index: content/public/child/child_thread.h |
diff --git a/content/public/child/child_thread.h b/content/public/child/child_thread.h |
index 6293ed164d8443dbd474ce35934a3235c0337943..a6f8e3e0c4223af7209f6fbfe0798ed528649d08 100644 |
--- a/content/public/child/child_thread.h |
+++ b/content/public/child/child_thread.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_ |
#define CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_ |
+#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
#include "ipc/ipc_sender.h" |
@@ -12,6 +13,10 @@ |
#include <windows.h> |
#endif |
+namespace base { |
+class SingleThreadTaskRunner; |
+} |
+ |
namespace content { |
class CONTENT_EXPORT ChildThread : public IPC::Sender { |
@@ -22,6 +27,8 @@ class CONTENT_EXPORT ChildThread : public IPC::Sender { |
~ChildThread() override {} |
+ virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() = 0; |
no sievers
2015/03/04 19:15:02
Should this have a comment and how this could pote
Sami
2015/03/04 19:39:28
Yep, I'll add a note here too.
|
+ |
#if defined(OS_WIN) |
// Request that the given font be loaded by the browser so it's cached by the |
// OS. Please see ChildProcessHost::PreCacheFont for details. |