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

Issue 1435153003: Add an ApplicationConnector interface, etc. (Closed)

Created:
5 years, 1 month ago by viettrungluu
Modified:
5 years, 1 month ago
Reviewers:
jamesr, abarth-chromium
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_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

Add an ApplicationConnector interface, etc. Also do a bit of (minimal) cleanup of ApplicationImpl. From the Shell interface, you can mint ApplicationConnectors, which allows you to connect to other applications. This is useful if you want to connect to applications from other threads or other environments (e.g., inside a VM). TODO(vtl): Maybe add a Duplicate() to ApplicationConnector. The reason we don't just add a Duplicate() to Shell is that Shell is associated with low-level stuff (e.g., process lifetime), and we may want to add more low-level process-y stuff (which shouldn't be delegated) to it in the future. R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/199850d6d0c03765ac121ba773057e1cc7eec1ec

Patch Set 1 #

Total comments: 1

Patch Set 2 : oops #

Patch Set 3 : doh #

Patch Set 4 : make it *build* on android #

Patch Set 5 : asdf #

Patch Set 6 : good enough for TV #

Patch Set 7 : grrr #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -87 lines) Patch
M mojo/go/tests/application_impl_test.go View 2 chunks +6 lines, -0 lines 1 comment Download
M mojo/public/cpp/application/application_impl.h View 1 2 3 4 5 5 chunks +24 lines, -24 lines 0 comments Download
M mojo/public/cpp/application/connect.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/lib/application_impl.cc View 1 2 3 4 5 3 chunks +35 lines, -34 lines 0 comments Download
M mojo/public/interfaces/application/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + mojo/public/interfaces/application/application_connector.mojom View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/public/interfaces/application/shell.mojom View 1 chunk +6 lines, -23 lines 0 comments Download
M shell/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M shell/application_manager/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M shell/application_manager/shell_impl.h View 4 chunks +32 lines, -0 lines 0 comments Download
M shell/application_manager/shell_impl.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M shell/shell_apptest.cc View 1 2 3 4 5 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
abarth-chromium
https://codereview.chromium.org/1435153003/diff/1/mojo/public/interfaces/application/BUILD.gn File mojo/public/interfaces/application/BUILD.gn (right): https://codereview.chromium.org/1435153003/diff/1/mojo/public/interfaces/application/BUILD.gn#newcode11 mojo/public/interfaces/application/BUILD.gn:11: "application_connector.mojom", I think you forgot to git add this ...
5 years, 1 month ago (2015-11-12 20:53:48 UTC) #2
viettrungluu
On 2015/11/12 20:53:48, abarth-chromium wrote: > https://codereview.chromium.org/1435153003/diff/1/mojo/public/interfaces/application/BUILD.gn > File mojo/public/interfaces/application/BUILD.gn (right): > > https://codereview.chromium.org/1435153003/diff/1/mojo/public/interfaces/application/BUILD.gn#newcode11 > ...
5 years, 1 month ago (2015-11-12 21:03:55 UTC) #3
viettrungluu
-> jamesr for review
5 years, 1 month ago (2015-11-13 21:45:19 UTC) #6
jamesr
Pretty much every language has an application wrapper - what's the plan for updating those? ...
5 years, 1 month ago (2015-11-13 21:51:20 UTC) #7
viettrungluu
On 2015/11/13 21:51:20, jamesr wrote: > Pretty much every language has an application wrapper - ...
5 years, 1 month ago (2015-11-13 22:04:08 UTC) #8
viettrungluu
ping
5 years, 1 month ago (2015-11-16 20:54:15 UTC) #9
jamesr
lgtm but please elaborate a bit in the commit message about why this is being ...
5 years, 1 month ago (2015-11-16 22:01:05 UTC) #10
abarth-chromium
If I have an ApplicationConnector is there a way for me to get another one?
5 years, 1 month ago (2015-11-16 22:09:35 UTC) #11
jamesr
On 2015/11/16 at 22:09:35, abarth wrote: > If I have an ApplicationConnector is there a ...
5 years, 1 month ago (2015-11-16 22:19:53 UTC) #12
jamesr
(copying question from email into review so the thread isn't split) Adam said: > Support ...
5 years, 1 month ago (2015-11-16 22:40:46 UTC) #13
viettrungluu
On 2015/11/16 22:40:46, jamesr wrote: > (copying question from email into review so the thread ...
5 years, 1 month ago (2015-11-16 22:54:25 UTC) #14
viettrungluu
5 years, 1 month ago (2015-11-16 23:21:03 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
199850d6d0c03765ac121ba773057e1cc7eec1ec (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698