|
|
[Fetch API] Remove DrainingBuffer.
This is a Fetch API related refactoring CL. Its main focus is to remove
"draining buffer". Instead, BodyStreamBuffer has lock / unlock methods. A
user can call |lock| to get its underlying handle and call |unlock| to
release the handle.
Now |body| property is held in FetchRequestData and FetchResponseData
whereas previously it was held in Body implementation. This change
simplifies the property update (e.g. clone) and removes several
functions such as |refreshBody|.
BUG= 480746
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199808
Total comments: 10
Total comments: 24
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+719 lines, -902 lines) |
Patch |
 |
M |
Source/core/streams/ReadableByteStreamReader.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/streams/UnderlyingSource.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/cachestorage/Cache.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Body.h
|
View
|
1
|
2 chunks |
+14 lines, -61 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Body.cpp
|
View
|
1
|
2 chunks |
+100 lines, -374 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/BodyStreamBuffer.h
|
View
|
1
2
|
1 chunk |
+62 lines, -61 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/BodyStreamBuffer.cpp
|
View
|
1
2
|
1 chunk |
+157 lines, -97 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/BodyStreamBufferTest.cpp
|
View
|
1
2
3
|
2 chunks |
+246 lines, -81 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchManager.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchRequestData.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchRequestData.cpp
|
View
|
1
2
3
4
|
4 chunks |
+22 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchResponseData.cpp
|
View
|
1
2
3
|
2 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Request.h
|
View
|
|
5 chunks |
+7 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Request.cpp
|
View
|
1
2
3
|
12 chunks |
+19 lines, -61 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Response.h
|
View
|
|
4 chunks |
+6 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Response.cpp
|
View
|
|
11 chunks |
+9 lines, -66 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/ResponseTest.cpp
|
View
|
1
2
3
|
7 chunks |
+30 lines, -29 lines |
0 comments
|
Download
|
 |
M |
Source/modules/serviceworkers/RespondWithObserver.cpp
|
View
|
1
2
3
|
2 chunks |
+21 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
public/platform/WebDataConsumerHandle.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 27 (11 generated)
|