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

Unified Diff: Source/modules/websockets/WebSocketHandshake.h

Issue 99733002: Update HTTPHeaderMap wrappers to use AtomicString type for header values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 7 years 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 | « Source/core/xml/XMLHttpRequest.cpp ('k') | Source/modules/websockets/WebSocketHandshake.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/WebSocketHandshake.h
diff --git a/Source/modules/websockets/WebSocketHandshake.h b/Source/modules/websockets/WebSocketHandshake.h
index 0860421970efe01d54be038deadb8aa4c85db2dc..835aae72c933fe223d8044fd2e10c413eb490ba2 100644
--- a/Source/modules/websockets/WebSocketHandshake.h
+++ b/Source/modules/websockets/WebSocketHandshake.h
@@ -80,12 +80,12 @@ public:
// Returns a string indicating the reason of failure if mode() == Failed.
String failureReason() const;
- String serverWebSocketProtocol() const;
- String serverSetCookie() const;
- String serverSetCookie2() const;
- String serverUpgrade() const;
- String serverConnection() const;
- String serverWebSocketAccept() const;
+ const AtomicString& serverWebSocketProtocol() const;
+ const AtomicString& serverSetCookie() const;
+ const AtomicString& serverSetCookie2() const;
+ const AtomicString& serverUpgrade() const;
+ const AtomicString& serverConnection() const;
+ const AtomicString& serverWebSocketAccept() const;
String acceptedExtensions() const;
const WebSocketHandshakeResponse& serverHandshakeResponse() const;
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | Source/modules/websockets/WebSocketHandshake.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698