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

Unified Diff: mojo/shell/public/cpp/shell_connection.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 | « mojo/shell/public/cpp/lib/shell_test.cc ('k') | mojo/shell/public/cpp/shell_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/shell_connection.h
diff --git a/mojo/shell/public/cpp/shell_connection.h b/mojo/shell/public/cpp/shell_connection.h
index e0b1eb1051c9444844aadf7639fe8ca68bcaa34a..c8b9f85baecdbcc046b04a8c6f8955c0e6ec3d0a 100644
--- a/mojo/shell/public/cpp/shell_connection.h
+++ b/mojo/shell/public/cpp/shell_connection.h
@@ -50,10 +50,6 @@ class ShellConnection : public shell::mojom::ShellClient {
InterfaceRequest<shell::mojom::ShellClient> request);
~ShellConnection() override;
- // Block the calling thread until the Initialize() method is called by the
- // shell.
- void WaitForInitialize();
-
Connector* connector() { return connector_.get(); }
private:
@@ -73,6 +69,7 @@ class ShellConnection : public shell::mojom::ShellClient {
// We track the lifetime of incoming connection registries as it more
// convenient for the client.
+ shell::mojom::ConnectorRequest pending_connector_request_;
ScopedVector<Connection> incoming_connections_;
mojo::ShellClient* client_;
Binding<shell::mojom::ShellClient> binding_;
« no previous file with comments | « mojo/shell/public/cpp/lib/shell_test.cc ('k') | mojo/shell/public/cpp/shell_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698