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

Unified Diff: net/http/http_content_disposition.h

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 | « net/base/net_util_unittest.cc ('k') | net/http/http_content_disposition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_content_disposition.h
===================================================================
--- net/http/http_content_disposition.h (revision 119865)
+++ net/http/http_content_disposition.h (working copy)
@@ -21,7 +21,7 @@
};
HttpContentDisposition(const std::string& header,
- const std::string& referrer_charset);
+ const std::string& default_charset);
~HttpContentDisposition();
bool is_attachment() const { return type() == ATTACHMENT; }
@@ -30,7 +30,7 @@
const std::string& filename() const { return filename_; }
private:
- void Parse(const std::string& header, const std::string& referrer_charset);
+ void Parse(const std::string& header, const std::string& default_charset);
std::string::const_iterator ConsumeDispositionType(
std::string::const_iterator begin, std::string::const_iterator end);
« no previous file with comments | « net/base/net_util_unittest.cc ('k') | net/http/http_content_disposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698