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

Unified Diff: net/base/net_util_unittest.cc

Issue 8392039: Use text/plain as a test MIME type instead of application/pdf. (Closed)
Patch Set: " Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util_unittest.cc
diff --git a/net/base/net_util_unittest.cc b/net/base/net_util_unittest.cc
index e971573568daae33de9dd5a86f4b8001cdffc986..5a24a315d58e7c9627bc71b5e7ff7406f28b4b74 100644
--- a/net/base/net_util_unittest.cc
+++ b/net/base/net_util_unittest.cc
@@ -2289,16 +2289,16 @@ TEST(NetUtilTest, GenerateFileName) {
"",
"",
"",
- "application/pdf",
+ "text/plain",
L"download",
- L"npdf.pdf"
+ L"npdf" TXT_EXT
},
{ // Shouldn't overwrite C-D specified extension.
"http://www.example.com/npdf.php?fn=foobar.pdf",
"Content-Disposition: filename=foobar.jpg",
"",
"",
- "application/pdf",
+ "text/plain",
L"download",
L"foobar.jpg"
},
« 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