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

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: Fix comment 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
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 cbafc449546f437de11b100bb2a13877c3efbf1a..bb7ee181be898e7ee21eb9b1682b72b5ca50c82c 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_;
}

Powered by Google App Engine
This is Rietveld 408576698