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

Issue 2425423004: Move NewDownload out of AwContentsIoThreadClientImpl to AwContentsClientBridge (Closed)

Created:
4 years, 2 months ago by sgurun-gerrit only
Modified:
4 years, 2 months ago
Reviewers:
jam, boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move NewDownload out of AwContentsIoThreadClientImpl The IoThreadClient has a map that's keyed by RenderFrame IDs. That doesn't work with plznavigate where navigation requests only have a frame tree node id. This requires another map. Ideally it would be good to not have to use that map and remove IoThreadClient completely. However, that is not possible. But most of the code in IoThreadClient already posts directly to UI thread and not need to be plumbed from there. This is first of the patches to move code that does not necessarily has to use IoThreadClientImpl out of it. BUG=645983 Committed: https://crrev.com/d465957ff8f649c59fe174fcabc6320c233b22b8 Cr-Commit-Position: refs/heads/master@{#426521}

Patch Set 1 #

Patch Set 2 : tested #

Patch Set 3 : changed "even if" to "unless" #

Total comments: 2

Messages

Total messages: 18 (8 generated)
sgurun-gerrit only
PTAL,
4 years, 2 months ago (2016-10-19 20:57:06 UTC) #3
boliu
better CL description describing what's actually in the CL please and motivation too, if it's ...
4 years, 2 months ago (2016-10-19 20:59:38 UTC) #4
sgurun-gerrit only
On 2016/10/19 20:59:38, boliu wrote: > better CL description describing what's actually in the CL ...
4 years, 2 months ago (2016-10-19 21:15:51 UTC) #6
boliu
lgtm say something like moving onDownloadStart to AwContentsClientBridge in the description
4 years, 2 months ago (2016-10-20 16:23:40 UTC) #7
sgurun-gerrit only
On 2016/10/20 16:23:40, boliu wrote: > lgtm > > say something like moving onDownloadStart to ...
4 years, 2 months ago (2016-10-20 16:47:09 UTC) #8
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/2425423004/40001
4 years, 2 months ago (2016-10-20 16:51:36 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 17:33:54 UTC) #13
jam
thanks for the fix, one comment to make it work with PlzNavigate https://codereview.chromium.org/2425423004/diff/40001/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc File android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc ...
4 years, 2 months ago (2016-10-20 18:15:22 UTC) #15
sgurun-gerrit only
https://codereview.chromium.org/2425423004/diff/40001/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc File android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/2425423004/diff/40001/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc#newcode323 android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc:323: request_info->GetRenderFrameID(), url, user_agent, On 2016/10/20 18:15:22, jam wrote: > ...
4 years, 2 months ago (2016-10-20 18:33:26 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:19:51 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d465957ff8f649c59fe174fcabc6320c233b22b8
Cr-Commit-Position: refs/heads/master@{#426521}

Powered by Google App Engine
This is Rietveld 408576698