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

Issue 1150033004: Use SharedMemoryDataConsumerHandle for stream data. (Closed)

Created:
5 years, 7 months ago by yhirano
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@threadsafe-ipc-data-consumer
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use SharedMemoryDataConsumerHandle for stream data. The current (experimental) XHR-stream uses WebDataConsumerHandleImpl which is based on mojo. In order to introduce the backpressure mechanism and for performance, we switch the implementation to SharedMemoryDataConsumerHandle which uses the shared memory directly. As a result, this CL enables the backpressure mechanism on XHR-streams when the response has "Cache-Control: no-store" header. Devtools behavior with streams is also improved, because the body contents are now shown. This CL also fixes a FixedReceivedData defect which was introduced in a previous CL. BUG=480746 Committed: https://crrev.com/69175410460ac676304dbba52a2decc76adf0403 Cr-Commit-Position: refs/heads/master@{#334369}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -155 lines) Patch
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 12 chunks +34 lines, -154 lines 2 comments Download
M content/public/child/fixed_received_data.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 41 (15 generated)
yhirano
This CL depends on https://codereview.chromium.org/1144033002/ and https://codereview.chromium.org/1150413003/.
5 years, 7 months ago (2015-05-26 03:46:27 UTC) #2
yhirano
ping
5 years, 6 months ago (2015-06-03 08:39:31 UTC) #3
yhirano
At PS5 I fixed a mistake which I made at the previous CL.
5 years, 6 months ago (2015-06-05 11:03:58 UTC) #4
yhirano
ping
5 years, 6 months ago (2015-06-09 11:13:30 UTC) #5
tyoshino (SeeGerritForStatus)
On 2015/06/05 11:03:58, yhirano wrote: > At PS5 I fixed a mistake which I made ...
5 years, 6 months ago (2015-06-10 13:45:48 UTC) #6
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc#newcode621 content/child/web_url_loader_impl.cc:621: client_->didReceiveResponse(loader_, response, reader.release()); how about skipping the rest ...
5 years, 6 months ago (2015-06-10 13:45:55 UTC) #7
hiroshige
https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc#newcode737 content/child/web_url_loader_impl.cc:737: client_->didFinishLoading(loader_, Here |client_| can be null and |if(client_)| is ...
5 years, 6 months ago (2015-06-11 00:01:58 UTC) #9
hiroshige
https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc#newcode730 content/child/web_url_loader_impl.cc:730: client_->didFail( We have to pass failures to |body_stream_writer_|/Stream if ...
5 years, 6 months ago (2015-06-11 00:58:00 UTC) #10
yhirano
https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1150033004/diff/80001/content/child/web_url_loader_impl.cc#newcode621 content/child/web_url_loader_impl.cc:621: client_->didReceiveResponse(loader_, response, reader.release()); On 2015/06/10 13:45:55, tyoshino wrote: > ...
5 years, 6 months ago (2015-06-11 02:17:00 UTC) #11
yhirano
On 2015/06/10 13:45:48, tyoshino wrote: > On 2015/06/05 11:03:58, yhirano wrote: > > At PS5 ...
5 years, 6 months ago (2015-06-11 02:17:20 UTC) #12
hiroshige
lgtm. https://codereview.chromium.org/1150033004/diff/100001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1150033004/diff/100001/content/child/web_url_loader_impl.cc#newcode692 content/child/web_url_loader_impl.cc:692: client_->didReceiveData(loader_, payload, data_length, encoded_data_length); This CL also fix ...
5 years, 6 months ago (2015-06-12 05:57:25 UTC) #13
yhirano
https://codereview.chromium.org/1150033004/diff/100001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1150033004/diff/100001/content/child/web_url_loader_impl.cc#newcode692 content/child/web_url_loader_impl.cc:692: client_->didReceiveData(loader_, payload, data_length, encoded_data_length); On 2015/06/12 05:57:25, hiroshige wrote: ...
5 years, 6 months ago (2015-06-12 06:03:18 UTC) #14
yhirano
+avi for OWNER review.
5 years, 6 months ago (2015-06-12 06:03:37 UTC) #16
Avi (use Gerrit)
lgtm stampity stamp
5 years, 6 months ago (2015-06-12 14:09:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150033004/100001
5 years, 6 months ago (2015-06-12 14:10:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150033004/100001
5 years, 6 months ago (2015-06-15 02:02:07 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/69575)
5 years, 6 months ago (2015-06-15 04:04:24 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150033004/100001
5 years, 6 months ago (2015-06-15 04:08:30 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/69587)
5 years, 6 months ago (2015-06-15 05:21:27 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150033004/100001
5 years, 6 months ago (2015-06-15 06:43:41 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/69605)
5 years, 6 months ago (2015-06-15 08:01:34 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150033004/100001
5 years, 6 months ago (2015-06-15 08:03:30 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/69614)
5 years, 6 months ago (2015-06-15 10:31:16 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150033004/100001
5 years, 6 months ago (2015-06-15 10:34:04 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-15 11:17:10 UTC) #40
commit-bot: I haz the power
5 years, 6 months ago (2015-06-15 11:18:19 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/69175410460ac676304dbba52a2decc76adf0403
Cr-Commit-Position: refs/heads/master@{#334369}

Powered by Google App Engine
This is Rietveld 408576698