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

Unified Diff: chrome/browser/download/download_manager_unittest.cc

Issue 42622: Add an exception to DownloadManager::GenerateExtension() for .tar.gz files wi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « chrome/browser/download/download_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_manager_unittest.cc
===================================================================
--- chrome/browser/download/download_manager_unittest.cc (revision 12475)
+++ chrome/browser/download/download_manager_unittest.cc (working copy)
@@ -313,6 +313,22 @@
"image/jpeg",
L"download.jpg"},
+ // For bug 5772
sidchat (Google) 2009/03/25 22:09:36 // Issue = 5772.
+ {"",
+ "http://www.example.com/foo.tar.gz",
+ "application/x-tar",
+ L"foo.tar.gz"},
+
+ {"",
+ "http://www.example.com/bar.tar",
+ "application/x-tar",
+ L"bar.tar"},
+
+ {"",
+ "http://www.example.com/bar.bogus",
+ "application/x-tar",
+ L"bar.bogus.tar"},
+
// TODO(darin): Add some raw 8-bit Content-Disposition tests.
};
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698