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

Unified Diff: net/http/http_network_transaction.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_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 3cec010aedaeb13363c19fee158f22969fec9844..a7b5803dc98179c6febda8a0b724e09be2a7940e 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -95,6 +95,7 @@ class HttpNetworkTransaction : public HttpTransaction,
STATE_GENERATE_SERVER_AUTH_TOKEN,
STATE_GENERATE_SERVER_AUTH_TOKEN_COMPLETE,
STATE_SEND_REQUEST,
+ STATE_SEND_REQUEST_INTERCEPT_COMPLETE,
willchan no longer on Chromium 2011/03/17 15:55:54 This is unconventional for net/ state machine logi
Matt Perry 2011/03/22 21:11:43 Done.
STATE_SEND_REQUEST_COMPLETE,
STATE_READ_HEADERS,
STATE_READ_HEADERS_COMPLETE,
@@ -126,6 +127,7 @@ class HttpNetworkTransaction : public HttpTransaction,
int DoGenerateServerAuthToken();
int DoGenerateServerAuthTokenComplete(int result);
int DoSendRequest();
+ int DoSendRequestInterceptComplete(int result);
int DoSendRequestComplete(int result);
int DoReadHeaders();
int DoReadHeadersComplete(int result);
@@ -218,6 +220,7 @@ class HttpNetworkTransaction : public HttpTransaction,
CompletionCallbackImpl<HttpNetworkTransaction> io_callback_;
CompletionCallback* user_callback_;
+ scoped_ptr<UploadDataStream> request_body_;
scoped_refptr<HttpNetworkSession> session_;

Powered by Google App Engine
This is Rietveld 408576698