Index: content/public/child/child_thread.h |
diff --git a/content/public/child/child_thread.h b/content/public/child/child_thread.h |
index 575ee80807c953602613f52a0142e718880f41f0..950200bd57bdf51851a55eaec0d80410ea2ea052 100644 |
--- a/content/public/child/child_thread.h |
+++ b/content/public/child/child_thread.h |
@@ -7,7 +7,7 @@ |
#include <string> |
-#include "base/logging.h" |
+#include "base/memory/ref_counted.h" |
#include "build/build_config.h" |
#include "content/common/content_export.h" |
#include "ipc/ipc_sender.h" |
@@ -17,6 +17,7 @@ |
#endif |
namespace base { |
+class SingleThreadTaskRunner; |
struct UserMetricsAction; |
} |
@@ -73,6 +74,8 @@ class CONTENT_EXPORT ChildThread : public IPC::Sender { |
// Returns a connector that can be used to bind interfaces exposed by other |
// services. |
virtual service_manager::Connector* GetConnector() = 0; |
+ |
+ virtual scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() = 0; |
}; |
} // namespace content |