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

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

Issue 216032: Because we use scoped_refptr<> to the HttpResponseInfo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | no next file » | 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_cert_request_info.h"
10 #include "net/base/ssl_info.h" 11 #include "net/base/ssl_info.h"
12 #include "net/http/http_response_headers.h"
11 #include "net/http/http_vary_data.h" 13 #include "net/http/http_vary_data.h"
12 14
13 namespace net { 15 namespace net {
14 16
15 class HttpResponseHeaders;
16 class SSLCertRequestInfo;
17
18 class HttpResponseInfo { 17 class HttpResponseInfo {
19 public: 18 public:
20 HttpResponseInfo(); 19 HttpResponseInfo();
21 ~HttpResponseInfo(); 20 ~HttpResponseInfo();
22 // Default copy-constructor and assignment operator are OK! 21 // Default copy-constructor and assignment operator are OK!
23 22
24 // The following is only defined if the request_time member is set. 23 // 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 24 // 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 25 // 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 26 // stale content (perhaps un-cacheable) may be fetched from cache subject to
(...skipping 26 matching lines...) Expand all
54 // The parsed response headers and status line. 53 // The parsed response headers and status line.
55 scoped_refptr<HttpResponseHeaders> headers; 54 scoped_refptr<HttpResponseHeaders> headers;
56 55
57 // The "Vary" header data for this response. 56 // The "Vary" header data for this response.
58 HttpVaryData vary_data; 57 HttpVaryData vary_data;
59 }; 58 };
60 59
61 } // namespace net 60 } // namespace net
62 61
63 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 62 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698