Index: mojo/application/public/cpp/lib/application_impl.cc |
diff --git a/mojo/application/public/cpp/lib/application_impl.cc b/mojo/application/public/cpp/lib/application_impl.cc |
index 9f2c419c36e3a910da8b4815ea399dc5b1448cf2..aafd4586a7ef452e16399a8e26424836d29c90d0 100644 |
--- a/mojo/application/public/cpp/lib/application_impl.cc |
+++ b/mojo/application/public/cpp/lib/application_impl.cc |
@@ -90,18 +90,6 @@ void ApplicationImpl::Initialize(ShellPtr shell, const mojo::String& url) { |
delegate_->Initialize(this); |
} |
-void ApplicationImpl::WaitForInitialize() { |
- if (!shell_) |
- binding_.WaitForIncomingMethodCall(); |
-} |
- |
-void ApplicationImpl::UnbindConnections( |
- InterfaceRequest<Application>* application_request, |
- ShellPtr* shell) { |
- *application_request = binding_.Unbind(); |
- shell->Bind(shell_.PassInterface()); |
-} |
- |
void ApplicationImpl::Quit() { |
// We can't quit immediately, since there could be in-flight requests from the |
// shell. So check with it first. |
@@ -162,4 +150,11 @@ void ApplicationImpl::QuitNow() { |
termination_closure_.Run(); |
} |
+void ApplicationImpl::UnbindConnections( |
+ InterfaceRequest<Application>* application_request, |
+ ShellPtr* shell) { |
+ *application_request = binding_.Unbind(); |
+ shell->Bind(shell_.PassInterface()); |
+} |
+ |
} // namespace mojo |