summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-23 22:04:01 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-23 22:04:01 +0000
commitab34ee59dfe0c75f1d72d8295c1335a6d55d8c8c (patch)
tree52df59c2eb143bb1fcff29e1aa880c347d36a00f /net/url_request
parent9a6c8933a3d843a52328c34c44b8d08655a910bc (diff)
downloadchromium_src-ab34ee59dfe0c75f1d72d8295c1335a6d55d8c8c.zip
chromium_src-ab34ee59dfe0c75f1d72d8295c1335a6d55d8c8c.tar.gz
chromium_src-ab34ee59dfe0c75f1d72d8295c1335a6d55d8c8c.tar.bz2
Revert "Reland r42300: "HttpRequestHeaders refactor."""
Broke another layout test. Review URL: http://codereview.chromium.org/1223001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc
index 439851b..dc39667 100644
--- a/net/url_request/url_request_unittest.cc
+++ b/net/url_request/url_request_unittest.cc
@@ -1092,7 +1092,7 @@ TEST_F(URLRequestTestHTTP, VaryHeader) {
TestDelegate d;
URLRequest req(server_->TestServerPage("echoheader?foo"), &d);
req.set_context(context);
- req.SetExtraRequestHeaders("foo: 1");
+ req.SetExtraRequestHeaders("foo:1");
req.Start();
MessageLoop::current()->Run();
}
@@ -1102,7 +1102,7 @@ TEST_F(URLRequestTestHTTP, VaryHeader) {
TestDelegate d;
URLRequest req(server_->TestServerPage("echoheader?foo"), &d);
req.set_context(context);
- req.SetExtraRequestHeaders("foo: 1");
+ req.SetExtraRequestHeaders("foo:1");
req.Start();
MessageLoop::current()->Run();
@@ -1114,7 +1114,7 @@ TEST_F(URLRequestTestHTTP, VaryHeader) {
TestDelegate d;
URLRequest req(server_->TestServerPage("echoheader?foo"), &d);
req.set_context(context);
- req.SetExtraRequestHeaders("foo: 2");
+ req.SetExtraRequestHeaders("foo:2");
req.Start();
MessageLoop::current()->Run();