Chromium Code Reviews| Index: net/http/http_response_info.h |
| diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h |
| index f5f1c2425d9250007a7237689110e6bace033d5c..661cd142c05dd25dc28e017fe2ed763ed676162e 100644 |
| --- a/net/http/http_response_info.h |
| +++ b/net/http/http_response_info.h |
| @@ -59,6 +59,11 @@ class NET_EXPORT HttpResponseInfo { |
| // transparent proxy may have been involved. |
| bool was_fetched_via_proxy; |
| + // True if the request was fetched from cache rather than the network |
| + // because of a LOAD_PREFERRING_CACHE or LOAD_CACHE_RETURN_IF_OFFLINE |
|
rvargas (doing something else)
2013/03/05 02:58:19
Why set a flag when the request is issued with LOA
Randy Smith (Not in Mondays)
2013/03/05 23:16:14
Well, that answers another question I asked you :-
|
| + // flag. |
| + bool was_cache_override; |
|
rvargas (doing something else)
2013/03/05 02:58:19
nit: move after was_cached, and maybe convey inste
Randy Smith (Not in Mondays)
2013/03/05 23:16:14
Done, though I phrased it as "was unable to contac
rvargas (doing something else)
2013/03/06 03:11:48
yes, I think it is better to change the name too.
Randy Smith (Not in Mondays)
2013/03/06 22:55:55
SG. I used "server_data_unavailable"; let me know
|
| + |
| // Remote address of the socket which fetched this resource. |
| // |
| // NOTE: If the response was served from the cache (was_cached is true), |