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

Issue 1964623002: Make the Dart application library code stop using the "wrong way" service provider (a.k.a. exposed_… (Closed)

Created:
4 years, 7 months ago by viettrungluu
Modified:
4 years, 7 months ago
Reviewers:
zra, Cutch
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Make the Dart application library code stop using the "wrong way" service provider (a.k.a. exposed_services). The plan is to get rid of exposed_services. No one is *really* using exposed_services now anyway (now that tracing no longer uses it). So we can make connectToApplication() not bring up exposed_services. Probably things could be refactored/cleaned up significantly once exposed_services is gone. (Note that some of the existing code was dubious: exposed_services is optional, so blindly calling close() on a proxy for it was wrong.) R=johnmccutchan@google.com, zra@google.com BUG=#762 Committed: https://chromium.googlesource.com/external/mojo/+/a0a2c0472e017cb7cc85a48bf3cde804c67963de

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -12 lines) Patch
M examples/dart/hello_world/hello/lib/main.dart View 1 chunk +1 line, -1 line 2 comments Download
M mojo/dart/apptests/test_apps/echo/lib/main.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/dart/apptests/test_apps/pingpong/lib/main.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/application.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/application_connection.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/lib/application_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
viettrungluu
https://codereview.chromium.org/1964623002/diff/1/examples/dart/hello_world/hello/lib/main.dart File examples/dart/hello_world/hello/lib/main.dart (right): https://codereview.chromium.org/1964623002/diff/1/examples/dart/hello_world/hello/lib/main.dart#newcode32 examples/dart/hello_world/hello/lib/main.dart:32: c.remoteServiceProvider.impl.onError = closeApplication; Since we no longer provide exposed_services, ...
4 years, 7 months ago (2016-05-09 19:19:46 UTC) #1
Cutch
LGTM but I've brought Zach on to review it as well.
4 years, 7 months ago (2016-05-09 20:46:02 UTC) #3
zra
lgtm https://codereview.chromium.org/1964623002/diff/1/examples/dart/hello_world/hello/lib/main.dart File examples/dart/hello_world/hello/lib/main.dart (right): https://codereview.chromium.org/1964623002/diff/1/examples/dart/hello_world/hello/lib/main.dart#newcode32 examples/dart/hello_world/hello/lib/main.dart:32: c.remoteServiceProvider.impl.onError = closeApplication; On 2016/05/09 19:19:46, viettrungluu wrote: ...
4 years, 7 months ago (2016-05-09 21:12:12 UTC) #4
viettrungluu
4 years, 7 months ago (2016-05-09 21:24:34 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
a0a2c0472e017cb7cc85a48bf3cde804c67963de (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698