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

Unified Diff: examples/moterm_example_app/moterm_example_app.cc

Issue 2034383003: Removed exposed_services from mojom definitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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: examples/moterm_example_app/moterm_example_app.cc
diff --git a/examples/moterm_example_app/moterm_example_app.cc b/examples/moterm_example_app/moterm_example_app.cc
index 3a4ad0367f190caee9ab30a94cd4b07a9e09ce1e..39c87814ceff4e219d9dfe7e4c9b252e1595dc01 100644
--- a/examples/moterm_example_app/moterm_example_app.cc
+++ b/examples/moterm_example_app/moterm_example_app.cc
@@ -52,7 +52,7 @@ class MotermExampleAppView {
// Connect to the moterm app.
LOG(INFO) << "Connecting to moterm";
mojo::ServiceProviderPtr moterm_app;
- shell->ConnectToApplication("mojo:moterm", GetProxy(&moterm_app), nullptr);
+ shell->ConnectToApplication("mojo:moterm", GetProxy(&moterm_app));
// Create the moterm view and pass it back to the client directly.
mojo::ConnectToService(moterm_app.get(), GetProxy(&moterm_view_provider_));
@@ -128,7 +128,7 @@ class MotermExampleAppView {
moterm_file_.reset();
mojo::ServiceProviderPtr dest_sp;
- shell_->ConnectToApplication(dest_url, GetProxy(&dest_sp), nullptr);
+ shell_->ConnectToApplication(dest_url, GetProxy(&dest_sp));
mojo::terminal::TerminalClientPtr dest_terminal_client;
mojo::ConnectToService(dest_sp.get(), GetProxy(&dest_terminal_client));
moterm_terminal_->ConnectToClient(

Powered by Google App Engine
This is Rietveld 408576698