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

Unified Diff: examples/native_run_app/native_run_app.cc

Issue 1979723002: ApplicationConnection devolution, part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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/native_run_app/native_run_app.cc
diff --git a/examples/native_run_app/native_run_app.cc b/examples/native_run_app/native_run_app.cc
index ba75d552b39a061927b361f7462841c7e8386ba5..5e36ad4b79f5fcedaa9f6460ca0a8d8bcbafdda1 100644
--- a/examples/native_run_app/native_run_app.cc
+++ b/examples/native_run_app/native_run_app.cc
@@ -235,8 +235,8 @@ class NativeRunApp : public mojo::ApplicationDelegate {
}
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override {
- connection->GetServiceProviderImpl().AddService<TerminalClient>(
+ mojo::ServiceProviderImpl* service_provider_impl) override {
+ service_provider_impl->AddService<TerminalClient>(
[this](const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<TerminalClient> terminal_client_request) {
new TerminalClientImpl(terminal_client_request.Pass(),
« no previous file with comments | « examples/media_test/media_test_app.cc ('k') | examples/recursive_content_handler/recursive_content_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698