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

Side by Side Diff: net/http/http_response_info.h

Issue 197030: Re-enabled URLRequestTestHTTP.BasicAuth.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Update the comment in http_response_info.h Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/url_request/url_request.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_ 5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_
6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_ 6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "net/base/auth.h" 9 #include "net/base/auth.h"
10 #include "net/base/ssl_info.h" 10 #include "net/base/ssl_info.h"
(...skipping 13 matching lines...) Expand all
24 // The following is only defined if the request_time member is set. 24 // The following is only defined if the request_time member is set.
25 // If this response was resurrected from cache, then this bool is set, and 25 // If this response was resurrected from cache, then this bool is set, and
26 // request_time may corresponds to a time "far" in the past. Note that 26 // request_time may corresponds to a time "far" in the past. Note that
27 // stale content (perhaps un-cacheable) may be fetched from cache subject to 27 // stale content (perhaps un-cacheable) may be fetched from cache subject to
28 // the load flags specified on the request info. For example, this is done 28 // the load flags specified on the request info. For example, this is done
29 // when a user presses the back button to re-render pages, or at startup, when 29 // when a user presses the back button to re-render pages, or at startup, when
30 // reloading previously visited pages (without going over the network). 30 // reloading previously visited pages (without going over the network).
31 bool was_cached; 31 bool was_cached;
32 32
33 // The time at which the request was made that resulted in this response. 33 // The time at which the request was made that resulted in this response.
34 // For cached responses, this time could be "far" in the past. 34 // For cached responses, this is the last time the cache entry was validated.
35 base::Time request_time; 35 base::Time request_time;
36 36
37 // The time at which the response headers were received. For cached 37 // The time at which the response headers were received. For cached
38 // responses, this time could be "far" in the past. 38 // this is the last time the cache entry was validated.
39 base::Time response_time; 39 base::Time response_time;
40 40
41 // If the response headers indicate a 401 or 407 failure, then this structure 41 // If the response headers indicate a 401 or 407 failure, then this structure
42 // will contain additional information about the authentication challenge. 42 // will contain additional information about the authentication challenge.
43 scoped_refptr<AuthChallengeInfo> auth_challenge; 43 scoped_refptr<AuthChallengeInfo> auth_challenge;
44 44
45 // The SSL client certificate request info. 45 // The SSL client certificate request info.
46 // TODO(wtc): does this really belong in HttpResponseInfo? I put it here 46 // TODO(wtc): does this really belong in HttpResponseInfo? I put it here
47 // because it is similar to |auth_challenge|, but unlike HTTP authentication 47 // because it is similar to |auth_challenge|, but unlike HTTP authentication
48 // challenge, client certificate request is not part of an HTTP response. 48 // challenge, client certificate request is not part of an HTTP response.
49 scoped_refptr<SSLCertRequestInfo> cert_request_info; 49 scoped_refptr<SSLCertRequestInfo> cert_request_info;
50 50
51 // The SSL connection info (if HTTPS). 51 // The SSL connection info (if HTTPS).
52 SSLInfo ssl_info; 52 SSLInfo ssl_info;
53 53
54 // The parsed response headers and status line. 54 // The parsed response headers and status line.
55 scoped_refptr<HttpResponseHeaders> headers; 55 scoped_refptr<HttpResponseHeaders> headers;
56 56
57 // The "Vary" header data for this response. 57 // The "Vary" header data for this response.
58 HttpVaryData vary_data; 58 HttpVaryData vary_data;
59 }; 59 };
60 60
61 } // namespace net 61 } // namespace net
62 62
63 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 63 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698