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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 12463021: Stop sending Accept-Charset HTTP header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync (r188089) Created 7 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 | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_context_builder.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_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index b11ccfa3ec494949dc05ca5d1fbf7b5388dd8bf6..2163ed54a9052d6d89490b592017245cdd9e97ef 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -72,15 +72,12 @@ class NET_EXPORT URLRequestContextBuilder {
void set_proxy_config_service(ProxyConfigService* proxy_config_service);
#endif // defined(OS_LINUX) || defined(OS_ANDROID)
- // Call these functions to specify hard-coded Accept-Language,
- // Accept-Charset, or User-Agent header values for all requests that don't
+ // Call these functions to specify hard-coded Accept-Language
+ // or User-Agent header values for all requests that don't
// have the headers already set.
void set_accept_language(const std::string& accept_language) {
accept_language_ = accept_language;
}
- void set_accept_charset(const std::string& accept_charset) {
- accept_charset_ = accept_charset;
- }
void set_user_agent(const std::string& user_agent) {
user_agent_ = user_agent;
}
@@ -116,7 +113,6 @@ class NET_EXPORT URLRequestContextBuilder {
private:
std::string accept_language_;
- std::string accept_charset_;
std::string user_agent_;
bool ftp_enabled_;
bool http_cache_enabled_;
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698