summaryrefslogtreecommitdiffstats
path: root/net/http/http_response_info.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 21:02:35 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 21:02:35 +0000
commit277d5942c22b06bbcc6288a8d60721d5841be014 (patch)
tree75d980a9e5317b52ef6061c5576efd3607f62163 /net/http/http_response_info.h
parent1430561ede1be63543f07085b59ec17112b9b80b (diff)
downloadchromium_src-277d5942c22b06bbcc6288a8d60721d5841be014.zip
chromium_src-277d5942c22b06bbcc6288a8d60721d5841be014.tar.gz
chromium_src-277d5942c22b06bbcc6288a8d60721d5841be014.tar.bz2
FBTF: Start cleaning up net/
url_request.h and http_response_info.h are some of the most included headers from net/ in chrome. Do what forward declaration we can in those headers. BUG=none TEST=none Review URL: http://codereview.chromium.org/3150003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_info.h')
-rw-r--r--net/http/http_response_info.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h
index 52db066..cd66982 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -7,22 +7,26 @@
#pragma once
#include "base/time.h"
-#include "net/base/auth.h"
-#include "net/base/io_buffer.h"
-#include "net/base/ssl_cert_request_info.h"
#include "net/base/ssl_info.h"
-#include "net/http/http_response_headers.h"
#include "net/http/http_vary_data.h"
class Pickle;
namespace net {
+class AuthChallengeInfo;
+class HttpResponseHeaders;
+class IOBufferWithSize;
+class SSLCertRequestInfo;
+
class HttpResponseInfo {
public:
HttpResponseInfo();
+ HttpResponseInfo(const HttpResponseInfo& rhs);
~HttpResponseInfo();
- // Default copy-constructor and assignment operator are OK!
+ HttpResponseInfo& operator=(const HttpResponseInfo& rhs);
+ // Even though we could get away with the copy ctor and default operator=,
+ // that would prevent us from doing a bunch of forward declaration.
// The following is only defined if the request_time member is set.
// If this response was resurrected from cache, then this bool is set, and