summaryrefslogtreecommitdiffstats
path: root/net/http/http_util.h
diff options
context:
space:
mode:
authorpauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-15 01:00:12 +0000
committerpauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-15 01:00:12 +0000
commit84f05434c6ced947048613c671d29d1ee7bc43c0 (patch)
treeac3d6016c1fa95277127afe26c8cef47fd4aac15 /net/http/http_util.h
parent6e3c0bd0ee38e411f1659903d6f3bacda0c277e9 (diff)
downloadchromium_src-84f05434c6ced947048613c671d29d1ee7bc43c0.zip
chromium_src-84f05434c6ced947048613c671d29d1ee7bc43c0.tar.gz
chromium_src-84f05434c6ced947048613c671d29d1ee7bc43c0.tar.bz2
Stop sending Accept-Charset HTTP header as its not relevant anymore. Remove it from HttpUserAgentSettings as well as this is no longer needed.
BUG=112804 Review URL: https://chromiumcodereview.appspot.com/12463021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_util.h')
-rw-r--r--net/http/http_util.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/http/http_util.h b/net/http/http_util.h
index 8f15d13..9fe199b 100644
--- a/net/http/http_util.h
+++ b/net/http/http_util.h
@@ -176,11 +176,6 @@ class NET_EXPORT HttpUtil {
static std::string GenerateAcceptLanguageHeader(
const std::string& raw_language_list);
- // Given a charset, return the list with a qvalue. If charset is utf-8,
- // it will return 'utf-8,*;q=0.5'. Otherwise (e.g. 'euc-jp'), it'll return
- // 'euc-jp,utf-8;q=0.7,*;q=0.3'.
- static std::string GenerateAcceptCharsetHeader(const std::string& charset);
-
// Helper. If |*headers| already contains |header_name| do nothing,
// otherwise add <header_name> ": " <header_value> to the end of the list.
static void AppendHeaderIfMissing(const char* header_name,