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

Unified Diff: net/url_request/url_request_context.h

Issue 11092088: Cleanup referrer_charset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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 | « content/shell/shell_download_manager_delegate.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index cea9de5b1a657d2631d5a8e7f99a957500ef3a1d..fb6af733115b56e58451a3efd4e1fee50b716dce 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -189,13 +189,6 @@ class NET_EXPORT URLRequestContext
// method to provide a UA string.
virtual const std::string& GetUserAgent(const GURL& url) const;
- // In general, referrer_charset is not known when URLRequestContext is
- // constructed. So, we need a setter.
- const std::string& referrer_charset() const { return referrer_charset_; }
- void set_referrer_charset(const std::string& charset) {
- referrer_charset_ = charset;
- }
-
const URLRequestJobFactory* job_factory() const { return job_factory_; }
void set_job_factory(const URLRequestJobFactory* job_factory) {
job_factory_ = job_factory;
@@ -245,7 +238,6 @@ class NET_EXPORT URLRequestContext
// The charset of the referrer where this request comes from. It's not
// used in communication with a server but is used to construct a suggested
// filename for file download.
- std::string referrer_charset_;
HttpTransactionFactory* http_transaction_factory_;
FtpTransactionFactory* ftp_transaction_factory_;
const URLRequestJobFactory* job_factory_;
« no previous file with comments | « content/shell/shell_download_manager_delegate.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698