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

Unified Diff: net/websockets/websocket_basic_handshake_stream.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 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/url_request/view_cache_helper_unittest.cc ('k') | net/websockets/websocket_basic_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_basic_handshake_stream.cc
diff --git a/net/websockets/websocket_basic_handshake_stream.cc b/net/websockets/websocket_basic_handshake_stream.cc
index 7bb34a335c75898f6b6de9e8e9e373542bb4c068..0831c719fb3ac60b6a347edbce374e2ecd034c78 100644
--- a/net/websockets/websocket_basic_handshake_stream.cc
+++ b/net/websockets/websocket_basic_handshake_stream.cc
@@ -99,7 +99,7 @@ void AddVectorHeaderIfNonEmpty(const char* name,
HttpRequestHeaders* headers) {
if (value.empty())
return;
- headers->SetHeader(name, JoinString(value, ", "));
+ headers->SetHeader(name, base::JoinString(value, ", "));
}
GetHeaderResult GetSingleHeaderValue(const HttpResponseHeaders* headers,
@@ -142,7 +142,7 @@ bool ValidateUpgrade(const HttpResponseHeaders* headers,
return false;
}
- if (!LowerCaseEqualsASCII(value, websockets::kWebSocketLowercase)) {
+ if (!base::LowerCaseEqualsASCII(value, websockets::kWebSocketLowercase)) {
*failure_message =
"'Upgrade' header value is not 'WebSocket': " + value;
return false;
@@ -346,7 +346,7 @@ bool ValidateExtensions(const HttpResponseHeaders* headers,
}
}
}
- *accepted_extensions_descriptor = JoinString(header_values, ", ");
+ *accepted_extensions_descriptor = base::JoinString(header_values, ", ");
return true;
}
« no previous file with comments | « net/url_request/view_cache_helper_unittest.cc ('k') | net/websockets/websocket_basic_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698