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

Issue 450103003: Refactor MIME type related methods in XHR for readability (Closed)

Created:
6 years, 4 months ago by tyoshino (SeeGerritForStatus)
Modified:
6 years, 4 months ago
Reviewers:
sof
CC:
blink-reviews, abarth-chromium
Project:
blink
Visibility:
Public.

Description

Refactor MIME type related methods in XHR for readability - Give more descriptive names to MIME type related methods - Split responseMIMEType() into one without fallback to text/xml and one with it as this fallback is requird only a few places - Add some FIXMEs to address issues found during this refactoring later BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179950

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Addressed #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -24 lines) Patch
M Source/core/xml/XMLHttpRequest.h View 1 2 3 3 chunks +15 lines, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 3 9 chunks +36 lines, -22 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tyoshino (SeeGerritForStatus)
6 years, 4 months ago (2014-08-11 11:53:19 UTC) #1
sof
https://codereview.chromium.org/450103003/diff/40001/Source/core/xml/XMLHttpRequest.cpp File Source/core/xml/XMLHttpRequest.cpp (right): https://codereview.chromium.org/450103003/diff/40001/Source/core/xml/XMLHttpRequest.cpp#newcode192 Source/core/xml/XMLHttpRequest.cpp:192: AtomicString mimeType = finalMIMEType(); Shouldn't this be finalMIMETypeWithFallback() for ...
6 years, 4 months ago (2014-08-11 12:19:38 UTC) #2
tyoshino (SeeGerritForStatus)
Thanks https://codereview.chromium.org/450103003/diff/40001/Source/core/xml/XMLHttpRequest.cpp File Source/core/xml/XMLHttpRequest.cpp (right): https://codereview.chromium.org/450103003/diff/40001/Source/core/xml/XMLHttpRequest.cpp#newcode192 Source/core/xml/XMLHttpRequest.cpp:192: AtomicString mimeType = finalMIMEType(); On 2014/08/11 12:19:37, sof ...
6 years, 4 months ago (2014-08-11 13:10:46 UTC) #3
sof
lgtm
6 years, 4 months ago (2014-08-11 13:15:59 UTC) #4
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 4 months ago (2014-08-11 13:22:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/450103003/60001
6 years, 4 months ago (2014-08-11 13:22:31 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 14:19:53 UTC) #7
Message was sent while issue was closed.
Change committed as 179950

Powered by Google App Engine
This is Rietveld 408576698