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

Unified Diff: content/common/websocket.h

Issue 153843004: [WebSocket] Send (request|response)_headers_text to the inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 | « content/child/websocket_bridge.cc ('k') | content/common/websocket_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/websocket.h
diff --git a/content/common/websocket.h b/content/common/websocket.h
index 98d75faf08e2d024da21005cf4d44afa1323c979..1a57ce95a4dbf8608026c3cef8e5aac5515c1c45 100644
--- a/content/common/websocket.h
+++ b/content/common/websocket.h
@@ -31,6 +31,8 @@ struct WebSocketHandshakeRequest {
GURL url;
// Additional HTTP request headers
std::vector<std::pair<std::string, std::string> > headers;
+ // HTTP request headers raw string
+ std::string headers_text;
// The time that this request is sent
base::Time request_time;
};
@@ -49,6 +51,8 @@ struct WebSocketHandshakeResponse {
std::string status_text;
// Additional HTTP response headers
std::vector<std::pair<std::string, std::string> > headers;
+ // HTTP response headers raw string
+ std::string headers_text;
// The time that this response arrives
base::Time response_time;
};
« no previous file with comments | « content/child/websocket_bridge.cc ('k') | content/common/websocket_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698