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

Unified Diff: net/websockets/websocket_extension_parser.h

Issue 2344873002: WebSocketExtensionParser: reject top-bit-set characters (Closed)
Patch Set: Include logging.h, remove string_util.h Created 4 years, 3 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 | « no previous file | net/websockets/websocket_extension_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_extension_parser.h
diff --git a/net/websockets/websocket_extension_parser.h b/net/websockets/websocket_extension_parser.h
index 365cbf60683c0aeafb0f6cbc399cca020944748d..ebba4f04ab536f89521ff6ec537e7280cbabf5d6 100644
--- a/net/websockets/websocket_extension_parser.h
+++ b/net/websockets/websocket_extension_parser.h
@@ -49,10 +49,6 @@ class NET_EXPORT_PRIVATE WebSocketExtensionParser {
void ConsumeSpaces();
WARN_UNUSED_RESULT bool Lookahead(char c);
WARN_UNUSED_RESULT bool ConsumeIfMatch(char c);
- size_t UnconsumedBytes() const { return end_ - current_; }
-
- static bool IsControl(char c);
- static bool IsSeparator(char c);
// The current position in the input string.
const char* current_;
« no previous file with comments | « no previous file | net/websockets/websocket_extension_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698