|
|
Chromium Code Reviews|
Created:
4 years, 3 months ago by yhirano Modified:
4 years, 3 months ago CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@bytes-consumer-tee Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse BytesConsumer in BodyStreamBuffer
This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle.
This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee.
BUG=610195
Committed: https://crrev.com/21fc237b7c8bab86b12fd64453b4fa35a08cd621
Cr-Commit-Position: refs/heads/master@{#418284}
Patch Set 1 : fix #Patch Set 2 : rebase #Patch Set 3 : fix #
Total comments: 4
Patch Set 4 : fix #Patch Set 5 : rebase #Patch Set 6 : fix #
Total comments: 2
Patch Set 7 : fix #Patch Set 8 : rebase #Depends on Patchset: Messages
Total messages: 67 (57 generated)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #3 (id:40001) has been deleted
Patchset #2 (id:20001) has been deleted
Patchset #1 (id:1) has been deleted
Description was changed from ========== [WIP] Make BodyStreamBuffer use BytesConsumer wip BUG=610195 ========== to ========== Use BytesConsumer in BodyStreamBuffer This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle. This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee. BUG=610195 ==========
yhirano@chromium.org changed reviewers: + hiroshige@chromium.org
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:355: m_consumer->endRead(available); We have to check the return value of endRead(). https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp (right): https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp:83: EXPECT_CALL(*client1, didFetchDataLoadedString(String("hello, world"))); What causes this behavior change?
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:355: m_consumer->endRead(available); On 2016/09/07 09:25:54, hiroshige wrote: > We have to check the return value of endRead(). Done. https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp (right): https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp:83: EXPECT_CALL(*client1, didFetchDataLoadedString(String("hello, world"))); On 2016/09/07 09:25:54, hiroshige wrote: > What causes this behavior change? Unlike DataConsuerTee, BytesConsumerTee start enqueuing data synchronously. If the loader starts reading synchronously as FetchDataLoader, the timing will change.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
lgtm https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:240: if (m_consumer) optional: splitting these three lines into a separate method might be better (as this sequence is used here, close(), and error()).
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Sou... File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Sou... third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:240: if (m_consumer) On 2016/09/08 05:36:38, hiroshige wrote: > optional: splitting these three lines into a separate method might be better (as > this sequence is used here, close(), and error()). Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
yhirano@chromium.org changed reviewers: + haraken@chromium.org
+haraken@ for the modules/BUILD.gn change.
LGTM
The CQ bit was checked by yhirano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from hiroshige@chromium.org Link to the patchset: https://codereview.chromium.org/2277143002/#ps200001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Use BytesConsumer in BodyStreamBuffer This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle. This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee. BUG=610195 ========== to ========== Use BytesConsumer in BodyStreamBuffer This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle. This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee. BUG=610195 ==========
Message was sent while issue was closed.
Committed patchset #8 (id:200001)
Message was sent while issue was closed.
Description was changed from ========== Use BytesConsumer in BodyStreamBuffer This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle. This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee. BUG=610195 ========== to ========== Use BytesConsumer in BodyStreamBuffer This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle. This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee. BUG=610195 Committed: https://crrev.com/21fc237b7c8bab86b12fd64453b4fa35a08cd621 Cr-Commit-Position: refs/heads/master@{#418284} ==========
Message was sent while issue was closed.
Patchset 8 (id:??) landed as https://crrev.com/21fc237b7c8bab86b12fd64453b4fa35a08cd621 Cr-Commit-Position: refs/heads/master@{#418284} |
