diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-28 14:50:24 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-28 14:50:24 +0000 |
commit | 28ca9fb49dbb272e04f9a096013d681e365674b2 (patch) | |
tree | f289dd97e5e75e0d5dc6bb19194ed942bf68af50 /net/http/http_content_disposition_unittest.cc | |
parent | d203abfd7d30c9ccd68c8760f4a6f128b056ced8 (diff) | |
download | chromium_src-28ca9fb49dbb272e04f9a096013d681e365674b2.zip chromium_src-28ca9fb49dbb272e04f9a096013d681e365674b2.tar.gz chromium_src-28ca9fb49dbb272e04f9a096013d681e365674b2.tar.bz2 |
BufferedResourceHandler::ShouldDownload shouldn't manually parse Content-Disposition
Now that we have net::HttpContentDisposition to parse the Content-Disposition
header, BufferedResourceHandler::ShouldDownload shouldn't use its own ad-hoc
parser.
Review URL: http://codereview.chromium.org/9297039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_content_disposition_unittest.cc')
-rw-r--r-- | net/http/http_content_disposition_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_content_disposition_unittest.cc b/net/http/http_content_disposition_unittest.cc index 6bcbd9f..0bba0b6 100644 --- a/net/http/http_content_disposition_unittest.cc +++ b/net/http/http_content_disposition_unittest.cc @@ -413,7 +413,7 @@ TEST(HttpContentDispositionTest, tc2231) { // http://greenbytes.de/tech/tc2231/#emptydisposition // Note: tc2231 says we should fail to parse this header. { "; filename=foo.html", - net::HttpContentDisposition::ATTACHMENT, // Should be INLINE? + net::HttpContentDisposition::INLINE, L"foo.html" }, // http://greenbytes.de/tech/tc2231/#attandinline |