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

Issue 767323002: Mojo JS Bindings: restore the ServiceProvider class, add an application test (Closed)

Created:
6 years ago by hansmuller
Modified:
6 years ago
Reviewers:
Aaron Boodman
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Mojo JS Bindings: restore the ServiceProvider class, add an application test Removed the mojo.js module and created a new one that just contains the ServiceProvider class. Renamed the mojo bridge module and restored its quit method. BUG= R=aa@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/3208471b175a9964b7b560d6090aa4100de401d3

Patch Set 1 : #

Patch Set 2 : Added explicit quit for the echo service implementation #

Patch Set 3 : Removed an extra include #

Total comments: 6

Patch Set 4 : Removed console import from ServiceProvider #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -326 lines) Patch
M mojo/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
D mojo/services/public/js/mojo.js View 1 chunk +0 lines, -169 lines 0 comments Download
A + mojo/services/public/js/service-provider.js View 1 2 3 5 chunks +10 lines, -68 lines 0 comments Download
M mojo/tools/data/apptests View 1 1 chunk +1 line, -0 lines 0 comments Download
M services/js/BUILD.gn View 1 2 chunks +21 lines, -2 lines 0 comments Download
M services/js/js_app.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
A + services/js/js_app_bridge_module.h View 1 1 chunk +1 line, -1 line 0 comments Download
A + services/js/js_app_bridge_module.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M services/js/js_app_runner_delegate.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A services/js/js_apptests.cc View 1 1 chunk +79 lines, -0 lines 0 comments Download
D services/js/mojo_bridge_module.h View 1 1 chunk +0 lines, -29 lines 0 comments Download
D services/js/mojo_bridge_module.cc View 1 1 chunk +0 lines, -43 lines 0 comments Download
A + services/js/test/BUILD.gn View 1 chunk +3 lines, -4 lines 0 comments Download
A services/js/test/echo.js View 1 1 chunk +32 lines, -0 lines 0 comments Download
A + services/js/test/echo_service.mojom View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
hansmuller
This CL is incomplete because, as far as I can tell, the JS content handler ...
6 years ago (2014-12-01 20:20:44 UTC) #5
hansmuller
This version works correctly with the test harness. The JS echo service is explicitly quit ...
6 years ago (2014-12-01 22:44:41 UTC) #6
Aaron Boodman
lgtm https://codereview.chromium.org/767323002/diff/100001/mojo/services/public/js/service-provider.js File mojo/services/public/js/service-provider.js (right): https://codereview.chromium.org/767323002/diff/100001/mojo/services/public/js/service-provider.js#newcode5 mojo/services/public/js/service-provider.js:5: define("mojo/services/public/js/service-provider", [ We typically use underscores, not dashes, ...
6 years ago (2014-12-02 01:13:22 UTC) #7
hansmuller
https://codereview.chromium.org/767323002/diff/100001/mojo/services/public/js/service-provider.js File mojo/services/public/js/service-provider.js (right): https://codereview.chromium.org/767323002/diff/100001/mojo/services/public/js/service-provider.js#newcode5 mojo/services/public/js/service-provider.js:5: define("mojo/services/public/js/service-provider", [ On 2014/12/02 01:13:22, Aaron Boodman wrote: > ...
6 years ago (2014-12-02 15:55:01 UTC) #8
hansmuller
6 years ago (2014-12-02 15:55:52 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:120001) manually as
3208471b175a9964b7b560d6090aa4100de401d3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698