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

Issue 975253002: refactoring Android Webview JNI_OnLoad interface (Closed)

Created:
5 years, 9 months ago by michaelbai
Modified:
5 years, 9 months ago
Reviewers:
Torne
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

refactoring Android Webview JNI_OnLoad interface to make it consistent with others. BUG=464008 Committed: https://crrev.com/0fb835f016fa4c63bdb3a2bf363d67eb8525a121 Cr-Commit-Position: refs/heads/master@{#320174}

Patch Set 1 #

Patch Set 2 : sync #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : Remove the JNI registration #

Patch Set 5 : InitVM #

Patch Set 6 : add Register back to header file #

Patch Set 7 : add InitAtExitManager interface #

Patch Set 8 : #

Total comments: 4

Patch Set 9 : address comments #

Patch Set 10 : Remove at exit manager change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -14 lines) Patch
M android_webview/lib/main/webview_entry_point.cc View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -10 lines 0 comments Download
M android_webview/lib/main/webview_jni_onload.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -2 lines 0 comments Download
M android_webview/lib/main/webview_jni_onload.cc View 1 2 3 4 5 3 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (2 generated)
michaelbai
5 years, 9 months ago (2015-03-04 23:06:57 UTC) #2
Torne
https://codereview.chromium.org/975253002/diff/20001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/975253002/diff/20001/android_webview/android_webview.gyp#newcode352 android_webview/android_webview.gyp:352: 'target_name': 'android_webview', This target is unnecessary - it is ...
5 years, 9 months ago (2015-03-05 18:56:09 UTC) #3
michaelbai
PTAL https://codereview.chromium.org/975253002/diff/20001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/975253002/diff/20001/android_webview/android_webview.gyp#newcode352 android_webview/android_webview.gyp:352: 'target_name': 'android_webview', On 2015/03/05 18:56:09, Torne wrote: > ...
5 years, 9 months ago (2015-03-05 19:28:53 UTC) #4
Torne
On 2015/03/05 19:28:53, michaelbai wrote: > PTAL > > https://codereview.chromium.org/975253002/diff/20001/android_webview/android_webview.gyp > File android_webview/android_webview.gyp (right): > ...
5 years, 9 months ago (2015-03-05 20:12:48 UTC) #5
michaelbai
On 2015/03/05 20:12:48, Torne wrote: > On 2015/03/05 19:28:53, michaelbai wrote: > > PTAL > ...
5 years, 9 months ago (2015-03-05 20:33:16 UTC) #6
Torne
On 2015/03/05 20:33:16, michaelbai wrote: > On 2015/03/05 20:12:48, Torne wrote: > > It just ...
5 years, 9 months ago (2015-03-05 21:07:18 UTC) #7
michaelbai
On 2015/03/05 21:07:18, Torne wrote: > On 2015/03/05 20:33:16, michaelbai wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 21:25:39 UTC) #8
Torne
On 2015/03/05 21:25:39, michaelbai wrote: > On 2015/03/05 21:07:18, Torne wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 21:30:00 UTC) #9
michaelbai
On 2015/03/05 21:30:00, Torne wrote: > On 2015/03/05 21:25:39, michaelbai wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 21:51:09 UTC) #10
michaelbai
On 2015/03/05 21:51:09, michaelbai wrote: > On 2015/03/05 21:30:00, Torne wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 23:39:15 UTC) #11
Torne
On 2015/03/05 23:39:15, michaelbai wrote: > On 2015/03/05 21:51:09, michaelbai wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-06 11:36:05 UTC) #12
michaelbai
Add it back, PTAL
5 years, 9 months ago (2015-03-06 16:33:54 UTC) #13
Torne
On 2015/03/06 16:33:54, michaelbai wrote: > Add it back, PTAL This is still a functional ...
5 years, 9 months ago (2015-03-06 16:56:24 UTC) #14
michaelbai
Did you mean I should call android_webview::OnJNIOnLoadRegisterJNI()? If so, I don't think we should call ...
5 years, 9 months ago (2015-03-09 21:04:30 UTC) #15
Torne
On 2015/03/09 21:04:30, michaelbai wrote: > Did you mean I should call android_webview::OnJNIOnLoadRegisterJNI()? If so, ...
5 years, 9 months ago (2015-03-11 12:02:17 UTC) #16
michaelbai
On 2015/03/11 12:02:17, Torne wrote: > On 2015/03/09 21:04:30, michaelbai wrote: > > Did you ...
5 years, 9 months ago (2015-03-11 16:33:16 UTC) #17
michaelbai
As we discussed, I updated the patch, PTAL
5 years, 9 months ago (2015-03-11 16:33:40 UTC) #18
Torne
https://codereview.chromium.org/975253002/diff/140001/android_webview/lib/main/webview_jni_onload.h File android_webview/lib/main/webview_jni_onload.h (right): https://codereview.chromium.org/975253002/diff/140001/android_webview/lib/main/webview_jni_onload.h#newcode13 android_webview/lib/main/webview_jni_onload.h:13: // We didn't remove the JNI registration for comparing ...
5 years, 9 months ago (2015-03-11 18:08:29 UTC) #19
michaelbai
PTAL https://codereview.chromium.org/975253002/diff/140001/android_webview/lib/main/webview_jni_onload.h File android_webview/lib/main/webview_jni_onload.h (right): https://codereview.chromium.org/975253002/diff/140001/android_webview/lib/main/webview_jni_onload.h#newcode13 android_webview/lib/main/webview_jni_onload.h:13: // We didn't remove the JNI registration for ...
5 years, 9 months ago (2015-03-11 18:29:10 UTC) #20
michaelbai
Removed AtExitManager, PTAL
5 years, 9 months ago (2015-03-11 18:41:50 UTC) #21
Torne
lgtm
5 years, 9 months ago (2015-03-11 19:43:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975253002/180001
5 years, 9 months ago (2015-03-11 22:27:31 UTC) #24
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 9 months ago (2015-03-11 22:56:26 UTC) #25
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 22:57:06 UTC) #26
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/0fb835f016fa4c63bdb3a2bf363d67eb8525a121
Cr-Commit-Position: refs/heads/master@{#320174}

Powered by Google App Engine
This is Rietveld 408576698