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

Issue 251082: Add a response_info() accessor to URLRequest to get a reference to the net::H... (Closed)

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

Description

Add a response_info() accessor to URLRequest to get a reference to the net::HttpResponseInfo struct in it entirety. BUG=none TEST=URLRequestTestHTTP.ResponseHeadersTest Committed revision 28067

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M net/url_request/url_request.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
michaeln
11 years, 2 months ago (2009-10-02 23:28:05 UTC) #1
darin (slow to review)
This structure was intentionally hidden. What fields do you need?
11 years, 2 months ago (2009-10-03 14:05:18 UTC) #2
michaeln
On 2009/10/03 14:05:18, darin wrote: > This structure was intentionally hidden. What fields do you ...
11 years, 2 months ago (2009-10-03 16:48:34 UTC) #3
darin (slow to review)
On Sat, Oct 3, 2009 at 9:48 AM, <michaeln@chromium.org> wrote: > On 2009/10/03 14:05:18, darin ...
11 years, 2 months ago (2009-10-05 06:58:18 UTC) #4
michaeln
> Oh? Like HttpCache::Read/WriteResponseInfo? Exactly like those static methods. // Helper function for reading response ...
11 years, 2 months ago (2009-10-05 21:23:04 UTC) #5
darin (slow to review)
On Mon, Oct 5, 2009 at 2:23 PM, <michaeln@chromium.org> wrote: > Oh? Like HttpCache::Read/WriteResponseInfo? >> ...
11 years, 2 months ago (2009-10-05 21:35:29 UTC) #6
rvargas (doing something else)
One of the main issues with having another instance of the http cache would be ...
11 years, 2 months ago (2009-10-05 21:37:54 UTC) #7
michaeln
> I see. It feels a bit unfortunate to me that we would have code ...
11 years, 2 months ago (2009-10-05 21:42:10 UTC) #8
rvargas (doing something else)
We have 8 bits for the version of the response info. (currently set to 0x1). ...
11 years, 2 months ago (2009-10-05 21:47:57 UTC) #9
michaeln
Just looked inside HttpCache a little... * format is versioned (great), and still at version ...
11 years, 2 months ago (2009-10-05 21:48:54 UTC) #10
michaeln
On 2009/10/05 21:37:54, rvargas wrote: > One of the main issues with having another instance ...
11 years, 2 months ago (2009-10-05 21:50:57 UTC) #11
darin (slow to review)
Factoring out the methods that do serialization/deserialization seems good to me. Avoiding a dependency on ...
11 years, 2 months ago (2009-10-05 22:26:40 UTC) #12
rvargas (doing something else)
11 years, 2 months ago (2009-10-05 22:33:42 UTC) #13
LGTM.

Powered by Google App Engine
This is Rietveld 408576698