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

Unified Diff: net/base/net_log_event_type_list.h

Issue 2108003: Add the URLRequest's method and load flags to the NetLog. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 10 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
« no previous file with comments | « net/base/net_log.h ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_event_type_list.h
===================================================================
--- net/base/net_log_event_type_list.h (revision 47305)
+++ net/base/net_log_event_type_list.h (working copy)
@@ -257,7 +257,9 @@
//
// For the BEGIN phase, the following parameters are attached:
// {
-// "url": <String of URL being loaded>
+// "url": <String of URL being loaded>,
+// "method": <The method ("POST" or "GET" or "HEAD" etc..)>,
+// "load_flags": <Numeric value of the combined load flags>
// }
//
// For the END phase, if there was an error, the following parameters are
@@ -305,7 +307,7 @@
// This event is sent for a HTTP request.
// The following parameters are attached:
// {
-// "line": <The HTTP request line, CRLF terminated>
+// "line": <The HTTP request line, CRLF terminated>,
// "headers": <The list of header:value pairs>
// }
EVENT_TYPE(HTTP_TRANSACTION_SEND_REQUEST_HEADERS)
@@ -313,7 +315,7 @@
// This event is sent for a tunnel request.
// The following parameters are attached:
// {
-// "line": <The HTTP request line, CRLF terminated>
+// "line": <The HTTP request line, CRLF terminated>,
// "headers": <The list of header:value pairs>
// }
EVENT_TYPE(HTTP_TRANSACTION_SEND_TUNNEL_HEADERS)
@@ -370,8 +372,8 @@
// This event is sent for a SPDY SYN_STREAM.
// The following parameters are attached:
// {
-// "flags": <The control frame flags>
-// "headers": <The list of header:value pairs>
+// "flags": <The control frame flags>,
+// "headers": <The list of header:value pairs>,
// "id": <The stream id>
// }
EVENT_TYPE(SPDY_STREAM_SYN_STREAM)
@@ -385,8 +387,8 @@
// This event is sent for a SPDY SYN_REPLY.
// The following parameters are attached:
// {
-// "flags": <The control frame flags>
-// "headers": <The list of header:value pairs>
+// "flags": <The control frame flags>,
+// "headers": <The list of header:value pairs>,
// "id": <The stream id>
// }
EVENT_TYPE(SPDY_STREAM_SYN_REPLY)
« no previous file with comments | « net/base/net_log.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698