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

Issue 2180423003: aw: Fix FactoryProvider threading (Closed)

Created:
4 years, 4 months ago by boliu
Modified:
4 years, 4 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

aw: Fix FactoryProvider threading Access thread-unsafe chromium classes on the UI thread only BUG=630709 Committed: https://crrev.com/06550e2edacc1a6b1e797f0a96e933f297e3ffbe Cr-Commit-Position: refs/heads/master@{#408643}

Patch Set 1 #

Total comments: 7

Patch Set 2 : rebase #

Patch Set 3 : fix debug build #

Patch Set 4 : skip post on ui thread #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -18 lines) Patch
M android_webview/glue/BUILD.gn View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 1 2 3 4 chunks +38 lines, -14 lines 2 comments Download
M android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewThreadTest.java View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
boliu
part 2 https://codereview.chromium.org/2180423003/diff/1/android_webview/glue/BUILD.gn File android_webview/glue/BUILD.gn (right): https://codereview.chromium.org/2180423003/diff/1/android_webview/glue/BUILD.gn#newcode46 android_webview/glue/BUILD.gn:46: "//base:base_build_config_gen", for BuildConfig https://codereview.chromium.org/2180423003/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java (right): ...
4 years, 4 months ago (2016-07-27 05:30:26 UTC) #2
boliu
ping https://codereview.chromium.org/2180423003/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java (right): https://codereview.chromium.org/2180423003/diff/1/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java#newcode388 android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java:388: if (BuildConfig.IS_DEBUG && !ThreadUtils.runningOnUiThread()) { On 2016/07/27 05:30:26, ...
4 years, 4 months ago (2016-07-28 01:32:16 UTC) #3
Torne
LGTM. We will have to keep an eye out for bugs after we land and ...
4 years, 4 months ago (2016-07-28 11:47:12 UTC) #4
boliu
On 2016/07/28 11:47:12, Torne wrote: > LGTM. We will have to keep an eye out ...
4 years, 4 months ago (2016-07-28 13:49:38 UTC) #5
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/2180423003/20001
4 years, 4 months ago (2016-07-28 14:07:13 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/103650)
4 years, 4 months ago (2016-07-28 14:25:54 UTC) #10
boliu
On 2016/07/28 14:25:54, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-07-28 16:42:53 UTC) #11
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/2180423003/40001
4 years, 4 months ago (2016-07-28 17:10:58 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-28 17:58:42 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/993fff8648f2701910b9efdbf1d35244fbf8ca73 Cr-Commit-Position: refs/heads/master@{#408432}
4 years, 4 months ago (2016-07-28 18:00:15 UTC) #17
boliu
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2197433002/ by boliu@chromium.org. ...
4 years, 4 months ago (2016-07-29 02:12:04 UTC) #18
boliu
ptal, need to skip posting if already on ui thread
4 years, 4 months ago (2016-07-29 03:27:10 UTC) #21
Torne
LGTM, but I'm surprised that runOnUiThreadBlocking doesn't just run its payload directly if already on ...
4 years, 4 months ago (2016-07-29 11:24:26 UTC) #22
boliu
On 2016/07/29 11:24:26, Torne wrote: > LGTM, but I'm surprised that runOnUiThreadBlocking doesn't just run ...
4 years, 4 months ago (2016-07-29 13:22:53 UTC) #23
boliu
https://codereview.chromium.org/2180423003/diff/60001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java File android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java (right): https://codereview.chromium.org/2180423003/diff/60001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java#newcode487 android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java:487: ? getBrowserContextOnUiThread().getGeolocationPermissions() On 2016/07/29 11:24:26, Torne wrote: > minor ...
4 years, 4 months ago (2016-07-29 13:23:56 UTC) #24
Torne
On 2016/07/29 13:23:56, boliu wrote: > https://codereview.chromium.org/2180423003/diff/60001/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java > File > android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java > (right): > > ...
4 years, 4 months ago (2016-07-29 13:54:01 UTC) #25
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/2180423003/60001
4 years, 4 months ago (2016-07-29 14:37:25 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-29 15:39:35 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 15:41:19 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/06550e2edacc1a6b1e797f0a96e933f297e3ffbe
Cr-Commit-Position: refs/heads/master@{#408643}

Powered by Google App Engine
This is Rietveld 408576698