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

Issue 1738553002: [ABANDONED] Move multipart/x-mixed-replace related code to ImageResource (Closed)

Created:
4 years, 10 months ago by yhirano
Modified:
4 years, 9 months ago
Reviewers:
hiroshige, Nate Chapin
CC:
chromium-reviews, nasko+codewatch_chromium.org, eae+blinkwatch, kinuko+watch, rwlbuis, Yoav Weiss, blink-reviews-html_chromium.org, jam, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, loading-reviews_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, sof, csharrison+watch_chromium.org, loading-reviews+fetch_chromium.org, Nate Chapin, tyoshino+watch_chromium.org, loading-reviews+metrics_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@multipart-cleanup-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move multipart/x-mixed-replace related code to ImageResource - Remove multipart related code from DocumentLoader and ImageDocument. - ImageDocument previously re-fetched the resource, but with this change it uses the currently loading resource. - Move multipart handling code from Resource to ImageResource. - Remove WebURLResponse::isMultipartPayload. BUG=570608

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -172 lines) Patch
M chrome/renderer/page_load_histograms.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M components/page_load_metrics/renderer/metrics_render_frame_observer.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/multipart/multipart-main-resource-expected.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DOMImplementation.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.h View 1 2 3 6 chunks +11 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 2 3 4 7 chunks +53 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.cpp View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MultipartImageResourceParserTest.cpp View 1 2 3 5 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 3 6 chunks +3 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 2 3 7 chunks +2 lines, -49 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 2 3 5 chunks +6 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponse.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceResponse.h View 3 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceResponse.cpp View 4 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/WebURLResponse.h View 1 chunk +0 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 7 (2 generated)
yhirano
This CL changes ImageDocument's behavior a bit: notifyFinished is dispatched when loading the resource is ...
4 years, 10 months ago (2016-02-25 02:24:13 UTC) #3
hiroshige
On 2016/02/25 02:24:13, yhirano wrote: > This CL changes ImageDocument's behavior a bit: notifyFinished is ...
4 years, 10 months ago (2016-02-25 23:13:05 UTC) #4
hiroshige
https://codereview.chromium.org/1738553002/diff/40001/chrome/renderer/page_load_histograms.cc File chrome/renderer/page_load_histograms.cc (left): https://codereview.chromium.org/1738553002/diff/40001/chrome/renderer/page_load_histograms.cc#oldcode888 chrome/renderer/page_load_histograms.cc:888: if (frame->dataSource()->response().isMultipartPayload()) This change and one in metrics_render_frame_observer.cc result ...
4 years, 10 months ago (2016-02-26 19:03:35 UTC) #5
yhirano
https://codereview.chromium.org/1738553002/diff/40001/chrome/renderer/page_load_histograms.cc File chrome/renderer/page_load_histograms.cc (left): https://codereview.chromium.org/1738553002/diff/40001/chrome/renderer/page_load_histograms.cc#oldcode888 chrome/renderer/page_load_histograms.cc:888: if (frame->dataSource()->response().isMultipartPayload()) On 2016/02/26 19:03:35, hiroshige wrote: > This ...
4 years, 10 months ago (2016-02-27 02:03:20 UTC) #6
yhirano
4 years, 9 months ago (2016-03-01 00:01:57 UTC) #7
Message was sent while issue was closed.
Closing the issue because it's merged to
https://codereview.chromium.org/1710733002/.

Powered by Google App Engine
This is Rietveld 408576698