Index: content/child/mojo/mojo_application.h |
diff --git a/content/child/mojo/mojo_application.h b/content/child/mojo/mojo_application.h |
index 5b89ddbaa084b3d2237df856e3b53fd37e57d552..5c207f2ccd56ddc778b526a12b96ebf5cc0b8265 100644 |
--- a/content/child/mojo/mojo_application.h |
+++ b/content/child/mojo/mojo_application.h |
@@ -9,6 +9,10 @@ |
#include "content/common/mojo/service_registry_impl.h" |
#include "ipc/ipc_platform_file.h" |
+namespace base { |
+class SequencedTaskRunner; |
+} |
+ |
namespace IPC { |
class Message; |
} |
@@ -21,7 +25,8 @@ namespace content { |
// It makes the ServiceRegistry interface available. |
class MojoApplication { |
public: |
- MojoApplication(); |
+ explicit MojoApplication( |
+ scoped_refptr<base::SequencedTaskRunner> io_task_runner); |
virtual ~MojoApplication(); |
bool OnMessageReceived(const IPC::Message& msg); |
@@ -31,6 +36,8 @@ class MojoApplication { |
private: |
void OnActivate(const IPC::PlatformFileForTransit& file); |
+ scoped_refptr<base::SequencedTaskRunner> io_task_runner_; |
+ |
ChannelInit channel_init_; |
ServiceRegistryImpl service_registry_; |