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

Unified Diff: content/browser/download/download_manager_impl_unittest.cc

Issue 9317018: referrer_charset is a lie. It's really the user's default_charset. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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
Index: content/browser/download/download_manager_impl_unittest.cc
===================================================================
--- content/browser/download/download_manager_impl_unittest.cc (revision 119865)
+++ content/browser/download/download_manager_impl_unittest.cc (working copy)
@@ -114,7 +114,7 @@
DownloadStateInfo state = item->GetStateInfo();
FilePath path = net::GenerateFileName(item->GetURL(),
item->GetContentDisposition(),
- item->GetReferrerCharset(),
+ item->GetDefaultCharset(),
item->GetSuggestedFilename(),
item->GetMimeType(),
std::string());
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698