Index: content/child/mojo/mojo_application.h |
diff --git a/content/child/mojo/mojo_application.h b/content/child/mojo/mojo_application.h |
index cdd3608e71a9c77ec59b135ddf59fbd5089445ff..20c98c99a4e27047a9fd23f646c9e4df437c0563 100644 |
--- a/content/child/mojo/mojo_application.h |
+++ b/content/child/mojo/mojo_application.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_CHILD_MOJO_MOJO_APPLICATION_H_ |
#include "base/macros.h" |
+#include "base/memory/weak_ptr.h" |
#include "content/common/mojo/channel_init.h" |
#include "content/common/mojo/service_registry_impl.h" |
#include "ipc/ipc_platform_file.h" |
@@ -37,11 +38,12 @@ class MojoApplication { |
private: |
void OnActivate(const IPC::PlatformFileForTransit& file); |
- scoped_refptr<base::SequencedTaskRunner> io_task_runner_; |
+ void OnMessagePipeCreated(mojo::ScopedMessagePipeHandle pipe); |
+ scoped_refptr<base::SequencedTaskRunner> io_task_runner_; |
ChannelInit channel_init_; |
- |
ServiceRegistryImpl service_registry_; |
+ base::WeakPtrFactory<MojoApplication> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(MojoApplication); |
}; |