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

Unified Diff: net/http/http_cache_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: delegate callbcak 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_cache_transaction.h
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
index 81160d59304fe68e4c81746c3fe10bf6418ef03e..fdc1663507f9c49f06fed509ab049b79f3c09612 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -153,6 +153,8 @@ class HttpCache::Transaction : public HttpTransaction {
STATE_PARTIAL_HEADERS_RECEIVED,
STATE_CACHE_READ_RESPONSE,
STATE_CACHE_READ_RESPONSE_COMPLETE,
+ STATE_CACHE_NOTIFY_BEFORE_SEND_HEADERS,
rvargas (doing something else) 2011/03/23 00:54:35 Given that these states are not related to the dis
Matt Perry 2011/03/24 00:11:25 Do you mean that they should be called in that ord
rvargas (doing something else) 2011/03/24 18:16:02 yes, the latter.
+ STATE_CACHE_NOTIFY_BEFORE_SEND_HEADERS_COMPLETE,
STATE_CACHE_WRITE_RESPONSE,
STATE_CACHE_WRITE_TRUNCATED_RESPONSE,
STATE_CACHE_WRITE_RESPONSE_COMPLETE,
@@ -207,6 +209,8 @@ class HttpCache::Transaction : public HttpTransaction {
int DoPartialHeadersReceived();
int DoCacheReadResponse();
int DoCacheReadResponseComplete(int result);
+ int DoCacheNotifyBeforeSendHeaders(int result);
+ int DoCacheNotifyBeforeSendHeadersComplete(int result);
int DoCacheWriteResponse();
int DoCacheWriteTruncatedResponse();
int DoCacheWriteResponseComplete(int result);

Powered by Google App Engine
This is Rietveld 408576698