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

Unified Diff: net/url_request/url_request_context.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/static_http_user_agent_settings.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 00e8ea645c7e2fb2e8833532fb7d72be80750ca2..cfc30a1d3df5e4ba097f6ad9c2f34ab4b437f08d 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -178,8 +178,6 @@ class NET_EXPORT URLRequestContext
// Legacy accessors that delegate to http_user_agent_settings_.
// TODO(pauljensen): Remove after all clients are updated to directly access
// http_user_agent_settings_.
- // Gets the value of 'Accept-Charset' header field.
- std::string GetAcceptCharset() const;
// Gets the value of 'Accept-Language' header field.
std::string GetAcceptLanguage() const;
// Gets the UA string to use for the given URL. Pass an invalid URL (such as
@@ -209,7 +207,7 @@ class NET_EXPORT URLRequestContext
void AssertNoURLRequests() const;
// Get the underlying |HttpUserAgentSettings| implementation that provides
- // the HTTP Accept-Language, Accept-Charset and User-Agent header values.
+ // the HTTP Accept-Language and User-Agent header values.
const HttpUserAgentSettings* http_user_agent_settings() const {
return http_user_agent_settings_;
}
« no previous file with comments | « net/url_request/static_http_user_agent_settings.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698