summaryrefslogtreecommitdiffstats
path: root/net/http/http_request_headers.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_request_headers.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_request_headers.h')
-rw-r--r--net/http/http_request_headers.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/http/http_request_headers.h b/net/http/http_request_headers.h
index 9563fa265..734194a 100644
--- a/net/http/http_request_headers.h
+++ b/net/http/http_request_headers.h
@@ -21,10 +21,9 @@ namespace net {
class HttpRequestHeaders {
public:
struct HeaderKeyValuePair {
- HeaderKeyValuePair() {}
+ HeaderKeyValuePair();
HeaderKeyValuePair(const base::StringPiece& key,
- const base::StringPiece& value)
- : key(key.data(), key.size()), value(value.data(), value.size()) {}
+ const base::StringPiece& value);
std::string key;
std::string value;