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

Unified Diff: net/http/http_request_info.h

Issue 6698009: Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net and cache intercept Created 9 years, 9 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: net/http/http_request_info.h
diff --git a/net/http/http_request_info.h b/net/http/http_request_info.h
index 7c73aa62f003060beab93f71b3a01fe1da0c6e3b..58b111ec4cac9e66655b5052e3e9d21bf064bc4b 100644
--- a/net/http/http_request_info.h
+++ b/net/http/http_request_info.h
@@ -52,6 +52,10 @@ struct HttpRequestInfo {
// The motivation behind this request.
RequestMotivation motivation;
+
+ // An optional globally unique identifier for this request for use by the
+ // consumer. 0 is invalid.
+ uint64 request_id;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698