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

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: Remove the unnecessary ApplicationDelegate subclass; cleanup. 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
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 b647427b1bdf18ab319e29ca36d9cbbced6ea76c..e233fd4c9df5a58a1ecfa5216ab4d28d4bf96b12 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;

Powered by Google App Engine
This is Rietveld 408576698