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

Issue 297003: Implement URLRequestDataJob (Closed)

Created:
11 years, 2 months ago by Roland
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

Continue Hayato Ito's work on issue #24846. Implement URLRequestDataJob class to handle "data:" URLs. Also no longer attempts to extract a file name suggestion from "about:" and "data:" URLs, since esp. "data:" URLs may contain slashes that would lead to unwanted results. BUG=24846 TEST=URLRequestTest.DataURLImageTest, NetUtilTest.GetSuggestedFilename

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -1 line) Patch
M net/base/net_util.cc View 1 2 3 2 chunks +14 lines, -1 line 0 comments Download
M net/base/net_util_unittest.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M net/net.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A net/url_request/url_request_data_job.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
A net/url_request/url_request_data_job.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download
M net/url_request/url_request_job_manager.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Roland
11 years, 2 months ago (2009-10-19 13:08:27 UTC) #1
Paweł Hajdan Jr.
http://codereview.chromium.org/297003/diff/1/4 File net/base/net_util_unittest.cc (right): http://codereview.chromium.org/297003/diff/1/4#newcode976 Line 976: {"about:chrome", nit: It seems that there should be ...
11 years, 2 months ago (2009-10-19 13:42:18 UTC) #2
darin (slow to review)
http://codereview.chromium.org/297003/diff/1/6 File net/url_request/url_request_data_job.h (right): http://codereview.chromium.org/297003/diff/1/6#newcode13 Line 13: class URLRequestDataJob : public URLRequestJob { please subclass ...
11 years, 2 months ago (2009-10-19 16:05:25 UTC) #3
darin (slow to review)
http://codereview.chromium.org/297003/diff/1/3 File net/base/net_util.cc (right): http://codereview.chromium.org/297003/diff/1/3#newcode1043 Line 1043: return default_name.empty() ? L"download" : default_name; I think ...
11 years, 2 months ago (2009-10-19 16:09:08 UTC) #4
Roland
Uploaded a new patch set that contains (almost all - see below) the corrections and ...
11 years, 2 months ago (2009-10-20 04:59:35 UTC) #5
darin (slow to review)
Looks good, but one minor issue: http://codereview.chromium.org/297003/diff/7001/8002 File net/base/net_util.cc (right): http://codereview.chromium.org/297003/diff/7001/8002#newcode1043 Line 1043: return default_name.empty() ...
11 years, 2 months ago (2009-10-20 05:36:41 UTC) #6
Roland
Uploaded a new patch set with the constant. Also filed bug http://code.google.com/p/chromium/issues/detail?id=25289 so that the ...
11 years, 2 months ago (2009-10-20 06:17:05 UTC) #7
darin (slow to review)
http://codereview.chromium.org/297003/diff/10001/4003 File net/base/net_util.cc (right): http://codereview.chromium.org/297003/diff/10001/4003#newcode1042 Line 1042: static const wchar_t* final_fallback_name = L"download"; please use ...
11 years, 2 months ago (2009-10-20 06:24:18 UTC) #8
Roland
On 2009/10/20 06:24:18, darin wrote: > http://codereview.chromium.org/297003/diff/10001/4003 > File net/base/net_util.cc (right): > > http://codereview.chromium.org/297003/diff/10001/4003#newcode1042 > ...
11 years, 2 months ago (2009-10-20 06:53:56 UTC) #9
darin (slow to review)
LGTM (nit: use http://crbug.com/ instead for brevity)
11 years, 2 months ago (2009-10-20 06:56:27 UTC) #10
Alpha Left Google
Is this being landed? Or I can land it?
11 years, 2 months ago (2009-10-22 00:52:50 UTC) #11
Roland
11 years, 2 months ago (2009-10-22 04:20:41 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698