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

Issue 2784493003: Consolidate JNI registrations for mojo system. (Closed)

Created:
3 years, 8 months ago by leonhsl(Using Gerrit)
Modified:
3 years, 8 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidate JNI registrations for mojo system. This CL adds a jni registrar consolidating all jni registrations for mojo system: RegisterCoreImpl RegisterWatcherImpl So that mojo users can just use this only one registrar rather than calling all above registration functions. BUG=none Review-Url: https://codereview.chromium.org/2784493003 Cr-Commit-Position: refs/heads/master@{#463166} Committed: https://chromium.googlesource.com/chromium/src/+/7e01649ec8b61ba9f5e934bf036eb996530e7d7b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Let top-level app directly register necessary JNIs #

Patch Set 3 : Rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -23 lines) Patch
M content/app/BUILD.gn View 1 2 chunks +13 lines, -12 lines 0 comments Download
M content/app/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/browser_jni_registrar.cc View 1 3 chunks +0 lines, -4 lines 0 comments Download
M content/public/test/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/content_test_suite_base.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/test/test_utils.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/android/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/android/javatests/init_library.cc View 1 chunk +2 lines, -4 lines 0 comments Download
A mojo/android/system/mojo_jni_registrar.h View 1 chunk +19 lines, -0 lines 0 comments Download
A mojo/android/system/mojo_jni_registrar.cc View 1 chunk +26 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (16 generated)
leonhsl(Using Gerrit)
Hi, this CL comes from Colin's comment at https://codereview.chromium.org/2774783003/#msg86, PTAL, thanks. blundell@: overall rockot@: overall ...
3 years, 8 months ago (2017-03-29 13:04:20 UTC) #4
Ted C
On 2017/03/29 13:04:20, leonhsl wrote: > Hi, this CL comes from Colin's comment at > ...
3 years, 8 months ago (2017-03-29 16:09:38 UTC) #7
blundell
https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc File content/browser/android/browser_jni_registrar.cc (right): https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc#newcode61 content/browser/android/browser_jni_registrar.cc:61: {"MojoSystem", mojo::android::RegisterSystemJni}, nit: Instead of being in this list, ...
3 years, 8 months ago (2017-03-29 17:31:57 UTC) #8
leonhsl(Using Gerrit)
https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc File content/browser/android/browser_jni_registrar.cc (right): https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc#newcode61 content/browser/android/browser_jni_registrar.cc:61: {"MojoSystem", mojo::android::RegisterSystemJni}, On 2017/03/29 17:31:57, blundell wrote: > nit: ...
3 years, 8 months ago (2017-03-30 08:04:14 UTC) #9
blundell
On 2017/03/30 08:04:14, leonhsl wrote: > https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc > File content/browser/android/browser_jni_registrar.cc (right): > > https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc#newcode61 > ...
3 years, 8 months ago (2017-03-30 08:42:15 UTC) #10
leonhsl(Using Gerrit)
On 2017/03/30 08:42:15, blundell wrote: > On 2017/03/30 08:04:14, leonhsl wrote: > > > https://codereview.chromium.org/2784493003/diff/1/content/browser/android/browser_jni_registrar.cc ...
3 years, 8 months ago (2017-03-30 10:38:26 UTC) #15
Ted C
On 2017/03/30 10:38:26, leonhsl wrote: > On 2017/03/30 08:42:15, blundell wrote: > > On 2017/03/30 ...
3 years, 8 months ago (2017-03-30 16:43:25 UTC) #18
leonhsl(Using Gerrit)
On 2017/03/30 16:43:25, Ted C wrote: > On 2017/03/30 10:38:26, leonhsl wrote: > > On ...
3 years, 8 months ago (2017-03-30 23:57:31 UTC) #19
blundell
lgtm, thanks!
3 years, 8 months ago (2017-03-31 11:28:18 UTC) #20
leonhsl(Using Gerrit)
+Avi, would you PTAL for OWNER review of content/*? Thanks.
3 years, 8 months ago (2017-03-31 12:18:49 UTC) #22
Avi (use Gerrit)
lgtm
3 years, 8 months ago (2017-03-31 15:37:22 UTC) #23
leonhsl(Using Gerrit)
+Yuzhu, would you PTAL for mojo/ OWNER review? Thanks!
3 years, 8 months ago (2017-04-04 01:32:44 UTC) #25
yzshen1
On 2017/04/04 01:32:44, leonhsl wrote: > +Yuzhu, would you PTAL for mojo/ OWNER review? Thanks! ...
3 years, 8 months ago (2017-04-10 00:01:24 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784493003/40001
3 years, 8 months ago (2017-04-10 01:42:53 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 02:42:19 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7e01649ec8b61ba9f5e934bf036e...

Powered by Google App Engine
This is Rietveld 408576698