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

Unified Diff: net/http/http_util.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 | « content/shell/shell_url_request_context_getter.cc ('k') | net/http/http_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_util.h
diff --git a/net/http/http_util.h b/net/http/http_util.h
index 8f15d136865d140fadc7a1853df3c8717f04568e..9fe199b3aabdfd3501d6a48733ec93a7fb23940c 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,
« no previous file with comments | « content/shell/shell_url_request_context_getter.cc ('k') | net/http/http_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698