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

Unified Diff: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h

Issue 2003253002: [Devtools] Allow User-Agent header override for Websockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
index ae65566583971701f5c7d1311dcf02fa8e0fca41..9c9ffe5e05a121fcfd6eedd3cd2e59feea72554a 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
@@ -131,6 +131,8 @@ private:
void didFinishLoadingBlob(DOMArrayBuffer*);
void didFailLoadingBlob(FileError::ErrorCode);
+ const WebString additionalHeaders();
yhirano 2016/05/30 11:12:57 Can you tell me why you use WebString instead of S
yhirano 2016/05/30 11:12:57 |const| not needed?
allada 2016/06/01 19:06:41 Done.
allada 2016/06/01 19:06:41 Done.
+
// m_handle is a handle of the connection.
// m_handle == 0 means this channel is closed.
OwnPtr<WebSocketHandle> m_handle;

Powered by Google App Engine
This is Rietveld 408576698