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

Unified Diff: mojo/public/cpp/application/application_impl.h

Issue 654103002: Further refine mojo_example_apptests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix MojoClose result check. Created 6 years, 2 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/examples/apptest/example_apptest.cc ('k') | mojo/public/cpp/application/lib/application_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/application_impl.h
diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h
index bc3660306a205e87feca22daabe5ea615e07ae33..9298dffe174228da9be441b6f3086793141fb5dd 100644
--- a/mojo/public/cpp/application/application_impl.h
+++ b/mojo/public/cpp/application/application_impl.h
@@ -76,6 +76,12 @@ class ApplicationImpl : public InterfaceImpl<Application> {
// Wait for the ShellPtr's Initialize message.
bool WaitForInitialize();
+ // Unbind the shell from this application and return its handle.
+ ScopedMessagePipeHandle UnbindShell();
+
+ // Application implementation.
+ virtual void Initialize(Array<String> args) override;
+
private:
class ShellPtrWatcher;
@@ -90,7 +96,6 @@ class ApplicationImpl : public InterfaceImpl<Application> {
static void Terminate();
// Application implementation.
- virtual void Initialize(Array<String> args) override;
virtual void AcceptConnection(const String& requestor_url,
ServiceProviderPtr provider) override;
« no previous file with comments | « mojo/examples/apptest/example_apptest.cc ('k') | mojo/public/cpp/application/lib/application_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698