Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Issue 1203163002: Refactoring WebView permission request (Closed)

Created:
5 years, 6 months ago by michaelbai
Modified:
5 years, 5 months ago
Reviewers:
boliu, 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 WebView permission request - Used java_cpp_enum to sync the resources definition. BUG=504037 Committed: https://crrev.com/1be24f4be6a39728e8f1222f3d6ce474f18705ba Cr-Commit-Position: refs/heads/master@{#340202}

Patch Set 1 #

Total comments: 11

Patch Set 2 : address comments #

Patch Set 3 : fix unittest #

Total comments: 2

Patch Set 4 : moved to constructor #

Patch Set 5 : #

Patch Set 6 : fix findbugs #

Patch Set 7 : only sync resource definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -27 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java View 1 2 3 4 5 6 5 chunks +13 lines, -23 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M android_webview/native/permission/aw_permission_request.h View 1 chunk +1 line, -2 lines 0 comments Download
M android_webview/native/webview_native.gyp View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (14 generated)
boliu
I'm guessing I was supposed to review this? :p https://codereview.chromium.org/1203163002/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (left): https://codereview.chromium.org/1203163002/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#oldcode736 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:736: ...
5 years, 5 months ago (2015-07-06 17:50:56 UTC) #2
michaelbai
PTAL https://codereview.chromium.org/1203163002/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java (left): https://codereview.chromium.org/1203163002/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java#oldcode736 android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java:736: if (TRACE) Log.d(TAG, "onPermissionRequestCanceled"); On 2015/07/06 17:50:56, boliu ...
5 years, 5 months ago (2015-07-15 22:33:43 UTC) #3
boliu
lgtm reminder this breaks api between glue and rest of chromium, which means it will ...
5 years, 5 months ago (2015-07-15 23:30:39 UTC) #4
Torne
https://codereview.chromium.org/1203163002/diff/40001/android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java File android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java (right): https://codereview.chromium.org/1203163002/diff/40001/android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java#newcode115 android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java:115: synchronized (this) { What is this synchronized *against*? I ...
5 years, 5 months ago (2015-07-16 16:06:34 UTC) #6
michaelbai
https://codereview.chromium.org/1203163002/diff/40001/android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java File android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java (right): https://codereview.chromium.org/1203163002/diff/40001/android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java#newcode115 android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java:115: synchronized (this) { On 2015/07/16 16:06:33, Torne wrote: > ...
5 years, 5 months ago (2015-07-16 18:03:58 UTC) #7
Torne
On 2015/07/16 18:03:58, michaelbai wrote: > https://codereview.chromium.org/1203163002/diff/40001/android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java > File > android_webview/java/src/org/chromium/android_webview/permission/AwPermissionRequest.java > (right): > > ...
5 years, 5 months ago (2015-07-17 11:00:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203163002/80001
5 years, 5 months ago (2015-07-17 17:56:26 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/98292)
5 years, 5 months ago (2015-07-17 18:33:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203163002/100001
5 years, 5 months ago (2015-07-17 18:55:11 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/45815)
5 years, 5 months ago (2015-07-17 20:19:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203163002/100001
5 years, 5 months ago (2015-07-17 22:06:58 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/45900)
5 years, 5 months ago (2015-07-17 22:53:20 UTC) #22
boliu
[FATAL:jni_android.cc(138)] Check failed: !ClearException(env) && clazz. Failed to find class org/chromium/android_webview/permission/AwPermissionRequest o_O proguard related? This ...
5 years, 5 months ago (2015-07-18 00:58:45 UTC) #23
michaelbai
On 2015/07/18 00:58:45, boliu wrote: > [FATAL:jni_android.cc(138)] Check failed: !ClearException(env) && clazz. Failed > to ...
5 years, 5 months ago (2015-07-18 01:21:05 UTC) #24
boliu
On 2015/07/18 01:21:05, michaelbai wrote: > On 2015/07/18 00:58:45, boliu wrote: > > [FATAL:jni_android.cc(138)] Check ...
5 years, 5 months ago (2015-07-18 01:23:50 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203163002/100001
5 years, 5 months ago (2015-07-20 18:43:57 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/46294)
5 years, 5 months ago (2015-07-20 19:30:38 UTC) #29
michaelbai
On 2015/07/20 19:30:38, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 5 months ago (2015-07-20 19:37:03 UTC) #30
boliu
On 2015/07/20 19:37:03, michaelbai wrote: > On 2015/07/20 19:30:38, commit-bot: I haz the power wrote: ...
5 years, 5 months ago (2015-07-20 19:45:12 UTC) #31
michaelbai
On 2015/07/20 19:45:12, boliu wrote: > On 2015/07/20 19:37:03, michaelbai wrote: > > On 2015/07/20 ...
5 years, 5 months ago (2015-07-20 19:48:37 UTC) #32
boliu
On 2015/07/20 19:48:37, michaelbai wrote: > On 2015/07/20 19:45:12, boliu wrote: > > On 2015/07/20 ...
5 years, 5 months ago (2015-07-20 19:50:07 UTC) #33
michaelbai
Changed to make definition synchronous only, PTAL
5 years, 5 months ago (2015-07-23 21:28:10 UTC) #34
boliu
lgtm
5 years, 5 months ago (2015-07-23 21:34:40 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203163002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1203163002/120001
5 years, 5 months ago (2015-07-23 22:42:28 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-23 23:05:38 UTC) #39
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 23:06:24 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1be24f4be6a39728e8f1222f3d6ce474f18705ba
Cr-Commit-Position: refs/heads/master@{#340202}

Powered by Google App Engine
This is Rietveld 408576698