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

Unified Diff: net/http/http_util.h

Issue 68213017: Fix HTTP protocol scheme debugging checks for WebSockets (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix typo. Created 7 years, 1 month 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_auth_cache.cc ('k') | net/http/http_util_icu.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 ae65146e6e4a42a21f673787d037f06330c9eb0b..9869bf123135e3d141a1dae882c6781e29616c1c 100644
--- a/net/http/http_util.h
+++ b/net/http/http_util.h
@@ -198,6 +198,9 @@ class NET_EXPORT HttpUtil {
// returned by GetStatusCodesForHistogram.
static int MapStatusCodeForHistogram(int code);
+ // Returns true if the URL scheme is "ws" or "wss".
+ static bool SchemeIsWsOrWss(const GURL& url);
yhirano 2013/11/18 04:14:07 [optional] Using this function in http_auth_handle
yhirano 2013/11/18 04:32:36 might by => might be Sorry!
+
// Used to iterate over the name/value pairs of HTTP headers. To iterate
// over the values in a multi-value header, use ValuesIterator.
// See AssembleRawHeaders for joining line continuations (this iterator
« no previous file with comments | « net/http/http_auth_cache.cc ('k') | net/http/http_util_icu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698