Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1963)

Unified Diff: content/common/mojo/mojo_shell_connection_impl.h

Issue 1476643002: mustash: Enable connections to mus from the Chrome renderer [take 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment on RenderWidgetWindowTreeClientFactory lifetime Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/mojo/mojo_shell_connection_impl.h
diff --git a/content/common/mojo/mojo_shell_connection_impl.h b/content/common/mojo/mojo_shell_connection_impl.h
index 8891acba7bc1e54927325891a6c4f7aa51cffe2d..64ff883a9f1d629f522948e7eda67b6ca24f4ae0 100644
--- a/content/common/mojo/mojo_shell_connection_impl.h
+++ b/content/common/mojo/mojo_shell_connection_impl.h
@@ -28,13 +28,8 @@ class MojoShellConnectionImpl : public MojoShellConnection,
public mojo::ApplicationDelegate {
public:
// Creates an instance of this class and stuffs it in TLS on the calling
- // thread. Retrieve it using MojoShellConnection::Get(). Blocks the calling
- // thread until calling GetApplication() will return an Initialized()
- // application with a bound ShellPtr.
+ // thread. Retrieve it using MojoShellConnection::Get().
static void Create();
- // Same as Create(), but receives a handle instead of looking for one on the
- // command line.
- static void CreateWithMessagePipe(mojo::ScopedMessagePipeHandle handle);
private:
MojoShellConnectionImpl();
@@ -46,6 +41,8 @@ class MojoShellConnectionImpl : public MojoShellConnection,
mojo::ApplicationConnection* connection) override;
// MojoShellConnection:
+ void BindToCommandLinePlatformChannel() override;
+ void BindToMessagePipe(mojo::ScopedMessagePipeHandle handle) override;
mojo::ApplicationImpl* GetApplication() override;
void AddListener(Listener* listener) override;
void RemoveListener(Listener* listener) override;

Powered by Google App Engine
This is Rietveld 408576698