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

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

Issue 1780973004: Kill ShellConnection::WaitForInitialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fuse-api
Patch Set: Created 4 years, 9 months 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
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | content/common/mojo/mojo_shell_connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5f5336349e3d1893436721640ad6913fcf113d10..8fa3fa21f2e3703e0244a5e4b58f0bffc5ffe2db 100644
--- a/content/common/mojo/mojo_shell_connection_impl.h
+++ b/content/common/mojo/mojo_shell_connection_impl.h
@@ -66,13 +66,10 @@ class MojoShellConnectionImpl : public MojoShellConnection,
void AddListener(Listener* listener) override;
void RemoveListener(Listener* listener) override;
- // Blocks the calling thread until a connection to the spawning shell is
- // established, an Application request from it is bound, and the Initialize()
- // method on that application is called.
- void WaitForShell(mojo::ScopedMessagePipeHandle handle);
+ // Initiates a connection to the shell.
+ void ConnectToShell(mojo::ScopedMessagePipeHandle handle);
bool external_;
- bool initialized_;
scoped_ptr<mojo::shell::RunnerConnection> runner_connection_;
scoped_ptr<mojo::ShellConnection> shell_connection_;
std::vector<Listener*> listeners_;
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | content/common/mojo/mojo_shell_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698