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

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

Issue 13609002: fix a problem that android cannot download files with basic authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 8 #include <string>
9 9
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool was_fetched_via_spdy; 68 bool was_fetched_via_spdy;
69 69
70 // True if the npn was negotiated for this request. 70 // True if the npn was negotiated for this request.
71 bool was_npn_negotiated; 71 bool was_npn_negotiated;
72 72
73 // True if the request was fetched via an explicit proxy. The proxy could 73 // True if the request was fetched via an explicit proxy. The proxy could
74 // be any type of proxy, HTTP or SOCKS. Note, we do not know if a 74 // be any type of proxy, HTTP or SOCKS. Note, we do not know if a
75 // transparent proxy may have been involved. 75 // transparent proxy may have been involved.
76 bool was_fetched_via_proxy; 76 bool was_fetched_via_proxy;
77 77
78 // Whether the request has authentication certificate.
79 bool request_has_auth;
asanka 2013/04/09 17:38:51 Nit: This field indicates the state of the request
qinmin 2013/04/09 20:19:06 Done.
80
78 // Remote address of the socket which fetched this resource. 81 // Remote address of the socket which fetched this resource.
79 // 82 //
80 // NOTE: If the response was served from the cache (was_cached is true), 83 // NOTE: If the response was served from the cache (was_cached is true),
81 // the socket address will be set to the address that the content came from 84 // the socket address will be set to the address that the content came from
82 // originally. This is true even if the response was re-validated using a 85 // originally. This is true even if the response was re-validated using a
83 // different remote address, or if some of the content came from a byte-range 86 // different remote address, or if some of the content came from a byte-range
84 // request to a different address. 87 // request to a different address.
85 HostPortPair socket_address; 88 HostPortPair socket_address;
86 89
87 // Protocol negotiated with the server. 90 // Protocol negotiated with the server.
(...skipping 29 matching lines...) Expand all
117 // The "Vary" header data for this response. 120 // The "Vary" header data for this response.
118 HttpVaryData vary_data; 121 HttpVaryData vary_data;
119 122
120 // Any metadata asociated with this resource's cached data. 123 // Any metadata asociated with this resource's cached data.
121 scoped_refptr<IOBufferWithSize> metadata; 124 scoped_refptr<IOBufferWithSize> metadata;
122 }; 125 };
123 126
124 } // namespace net 127 } // namespace net
125 128
126 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 129 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698