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

Unified Diff: net/websockets/websocket_handshake_handler.cc

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/url_request_throttler_manager.cc ('k') | pdf/document_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_handshake_handler.cc
diff --git a/net/websockets/websocket_handshake_handler.cc b/net/websockets/websocket_handshake_handler.cc
index 787dde682e784471b3cd1919633859f698a0fb57..63247109b689c2c8cf6df6c60bdbc4ee1e6dea2c 100644
--- a/net/websockets/websocket_handshake_handler.cc
+++ b/net/websockets/websocket_handshake_handler.cc
@@ -270,14 +270,14 @@ bool WebSocketHandshakeRequestHandler::GetRequestHeaderBlock(
// SPDY. We should omit them from a Sec-WebSocket-Extension header.
std::string name;
if (spdy_protocol_version <= 2)
- name = StringToLowerASCII(iter.name());
+ name = base::StringToLowerASCII(iter.name());
else
- name = ":" + StringToLowerASCII(iter.name());
+ name = ":" + base::StringToLowerASCII(iter.name());
(*headers)[name] = iter.values();
continue;
}
// Others should be sent out to |headers|.
- std::string name = StringToLowerASCII(iter.name());
+ std::string name = base::StringToLowerASCII(iter.name());
SpdyHeaderBlock::iterator found = headers->find(name);
if (found == headers->end()) {
(*headers)[name] = iter.values();
« no previous file with comments | « net/url_request/url_request_throttler_manager.cc ('k') | pdf/document_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698