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

Unified Diff: net/url_request/http_user_agent_settings.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/http/http_util_unittest.cc ('k') | net/url_request/static_http_user_agent_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/http_user_agent_settings.h
diff --git a/net/url_request/http_user_agent_settings.h b/net/url_request/http_user_agent_settings.h
index 84ae9fbe3fa249c5075da1061b021225e589dcf9..d475a88ebd80e4223fee649d4594d33cb78ae46a 100644
--- a/net/url_request/http_user_agent_settings.h
+++ b/net/url_request/http_user_agent_settings.h
@@ -14,8 +14,8 @@ class GURL;
namespace net {
-// The interface used by HTTP jobs to retrieve HTTP Accept-Language,
-// Accept-Charset and User-Agent header values.
+// The interface used by HTTP jobs to retrieve HTTP Accept-Language
+// and User-Agent header values.
class NET_EXPORT HttpUserAgentSettings {
public:
HttpUserAgentSettings() {}
@@ -24,9 +24,6 @@ class NET_EXPORT HttpUserAgentSettings {
// Gets the value of 'Accept-Language' header field.
virtual std::string GetAcceptLanguage() const = 0;
- // Gets the value of 'Accept-Charset' header field.
- virtual std::string GetAcceptCharset() const = 0;
-
// Gets the UA string to use for the given URL. Pass an empty URL to get
// the default UA string.
virtual std::string GetUserAgent(const GURL& url) const = 0;
« no previous file with comments | « net/http/http_util_unittest.cc ('k') | net/url_request/static_http_user_agent_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698