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

Issue 1173173006: [2c] Replace Body::readAsyncFromBlob with readAsyncFromFetchDataConsumerHandle (Closed)

Created:
5 years, 6 months ago by hiroshige
Modified:
5 years, 5 months ago
Reviewers:
yhirano, horo
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Replace Body::readAsyncFromBlob with readAsyncFromFetchDataConsumerHandle Replace readAsyncFromBlob (that loads data from BlobDataHandle by FileReader) with readAsyncFromFetchDataConsumerHandle (that loads data from FetchDataConsumerHandle by FetchDataLoader) + FetchBlobDataConsumerHandle. BUG=480746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198263

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : Rebase Body::didFetchDataLoadFailed() change. #

Total comments: 3

Patch Set 5 : #

Patch Set 6 : Rebase #

Patch Set 7 : Add #include to ResponseTest.cpp #

Total comments: 2

Patch Set 8 : MODULES_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -81 lines) Patch
M Source/modules/cachestorage/Cache.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/fetch/Body.h View 1 4 chunks +11 lines, -10 lines 0 comments Download
M Source/modules/fetch/Body.cpp View 1 2 3 4 5 5 chunks +85 lines, -70 lines 0 comments Download
M Source/modules/fetch/FetchDataLoader.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/fetch/ResponseTest.cpp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/RespondWithObserver.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
hiroshige
PTAL. https://codereview.chromium.org/1173173006/diff/20001/Source/modules/fetch/Body.cpp File Source/modules/fetch/Body.cpp (left): https://codereview.chromium.org/1173173006/diff/20001/Source/modules/fetch/Body.cpp#oldcode479 Source/modules/fetch/Body.cpp:479: // Canceling the load will call didFail which ...
5 years, 6 months ago (2015-06-19 10:05:55 UTC) #2
yhirano
https://codereview.chromium.org/1173173006/diff/20001/Source/modules/fetch/Body.cpp File Source/modules/fetch/Body.cpp (left): https://codereview.chromium.org/1173173006/diff/20001/Source/modules/fetch/Body.cpp#oldcode479 Source/modules/fetch/Body.cpp:479: // Canceling the load will call didFail which will ...
5 years, 6 months ago (2015-06-19 13:39:15 UTC) #3
hiroshige
https://codereview.chromium.org/1173173006/diff/20001/Source/modules/fetch/Body.cpp File Source/modules/fetch/Body.cpp (left): https://codereview.chromium.org/1173173006/diff/20001/Source/modules/fetch/Body.cpp#oldcode479 Source/modules/fetch/Body.cpp:479: // Canceling the load will call didFail which will ...
5 years, 6 months ago (2015-06-22 11:22:20 UTC) #4
hiroshige
https://codereview.chromium.org/1173173006/diff/60001/Source/modules/fetch/Body.cpp File Source/modules/fetch/Body.cpp (right): https://codereview.chromium.org/1173173006/diff/60001/Source/modules/fetch/Body.cpp#newcode551 Source/modules/fetch/Body.cpp:551: m_resolver->reject(V8ThrowException::createTypeError(state->isolate(), "Failed to fetch")); didFetchDataLoadFailed() can be called e.g. ...
5 years, 6 months ago (2015-06-23 13:14:26 UTC) #5
yhirano
https://codereview.chromium.org/1173173006/diff/60001/Source/modules/fetch/Body.cpp File Source/modules/fetch/Body.cpp (right): https://codereview.chromium.org/1173173006/diff/60001/Source/modules/fetch/Body.cpp#newcode385 Source/modules/fetch/Body.cpp:385: m_fetchDataLoader->start(createFetchDataConsumerHandleFromWebHandle(createDoneDataConsumerHandle()).get(), this); |handle| will never be null.
5 years, 6 months ago (2015-06-25 04:37:08 UTC) #6
yhirano
5 years, 6 months ago (2015-06-25 04:52:43 UTC) #7
hiroshige
https://codereview.chromium.org/1173173006/diff/60001/Source/modules/fetch/Body.cpp File Source/modules/fetch/Body.cpp (right): https://codereview.chromium.org/1173173006/diff/60001/Source/modules/fetch/Body.cpp#newcode385 Source/modules/fetch/Body.cpp:385: m_fetchDataLoader->start(createFetchDataConsumerHandleFromWebHandle(createDoneDataConsumerHandle()).get(), this); On 2015/06/25 04:37:08, yhirano wrote: > |handle| ...
5 years, 6 months ago (2015-06-25 05:39:17 UTC) #8
yhirano
lgtm
5 years, 6 months ago (2015-06-25 05:42:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1173173006/80001
5 years, 5 months ago (2015-07-02 15:45:47 UTC) #13
hiroshige
+horo@ as a modules/cachestorage/ and modules/serviceworker owner. Could you take a look at the changes ...
5 years, 5 months ago (2015-07-02 15:49:13 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1173173006/120001
5 years, 5 months ago (2015-07-02 16:17:42 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/49986)
5 years, 5 months ago (2015-07-02 16:53:17 UTC) #21
horo
On 2015/07/02 15:49:13, hiroshige wrote: > +horo@ as a modules/cachestorage/ and modules/serviceworker owner. > Could ...
5 years, 5 months ago (2015-07-03 02:23:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1173173006/120001
5 years, 5 months ago (2015-07-03 02:23:46 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/50018)
5 years, 5 months ago (2015-07-03 02:52:54 UTC) #26
yhirano
https://codereview.chromium.org/1173173006/diff/120001/Source/modules/fetch/Body.h File Source/modules/fetch/Body.h (right): https://codereview.chromium.org/1173173006/diff/120001/Source/modules/fetch/Body.h#newcode32 Source/modules/fetch/Body.h:32: , public FetchDataLoader::Client { Maybe you need to add ...
5 years, 5 months ago (2015-07-03 04:31:00 UTC) #27
yhirano
PS8 LGTM
5 years, 5 months ago (2015-07-03 05:16:32 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1173173006/140001
5 years, 5 months ago (2015-07-03 05:40:11 UTC) #31
hiroshige
https://codereview.chromium.org/1173173006/diff/120001/Source/modules/fetch/Body.h File Source/modules/fetch/Body.h (right): https://codereview.chromium.org/1173173006/diff/120001/Source/modules/fetch/Body.h#newcode32 Source/modules/fetch/Body.h:32: , public FetchDataLoader::Client { On 2015/07/03 04:31:00, yhirano wrote: ...
5 years, 5 months ago (2015-07-03 06:45:19 UTC) #32
commit-bot: I haz the power
5 years, 5 months ago (2015-07-03 07:02:29 UTC) #33
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198263

Powered by Google App Engine
This is Rietveld 408576698