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

Unified Diff: content/browser/download/download_item_impl.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
« no previous file with comments | « content/browser/download/download_item_impl.h ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_item_impl.cc
===================================================================
--- content/browser/download/download_item_impl.cc (revision 119865)
+++ content/browser/download/download_item_impl.cc (working copy)
@@ -212,7 +212,7 @@
content_disposition_(info.content_disposition),
mime_type_(info.mime_type),
original_mime_type_(info.original_mime_type),
- referrer_charset_(info.referrer_charset),
+ default_charset_(info.default_charset),
remote_address_(info.remote_address),
total_bytes_(info.total_bytes),
received_bytes_(0),
@@ -929,8 +929,8 @@
std::string DownloadItemImpl::GetOriginalMimeType() const {
return original_mime_type_;
}
-std::string DownloadItemImpl::GetReferrerCharset() const {
- return referrer_charset_;
+std::string DownloadItemImpl::GetDefaultCharset() const {
+ return default_charset_;
}
std::string DownloadItemImpl::GetRemoteAddress() const {
return remote_address_;
« no previous file with comments | « content/browser/download/download_item_impl.h ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698