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

Unified Diff: net/http/http_transaction.h

Issue 2721933002: HttpCache::Transaction layer allowing parallel validation (Closed)
Patch Set: Simplified HttpTransaction::Start API contract for request info Created 3 years, 8 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/http/http_cache_unittest.cc ('k') | net/http/http_transaction_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index eff45d10c5648d618e4366a6ea91a398b06016b1..6b5bce143c6e3bf38838f5781de372c77aeb38fe 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -53,8 +53,8 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// Starts the HTTP transaction (i.e., sends the HTTP request).
//
// The consumer should ensure that request_info points to a valid value till
Randy Smith (Not in Mondays) 2017/05/09 23:20:32 nit: "till" -> "while"
shivanisha 2017/05/10 14:46:03 done
- // final response headers are received; after that point, the HttpTransaction
- // will not access |*request_info| and it may be deleted.
+ // the consumer is alive; after that point, the HttpTransaction will not
Randy Smith (Not in Mondays) 2017/05/09 23:20:32 How does the HttpTransaction know when its consume
shivanisha 2017/05/10 14:46:03 In that case, I think this requirement translates
Randy Smith (Not in Mondays) 2017/05/10 21:34:26 Ok, I think we're using terminology differently: W
shivanisha 2017/05/11 19:58:24 Agree with consumer being the immediate consumer w
Randy Smith (Not in Mondays) 2017/05/11 21:47:09 First of all, remind me what the intended use case
+ // access |*request_info|.
//
// Returns OK if the transaction could be started synchronously, which means
// that the request was served from the cache. ERR_IO_PENDING is returned to
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_transaction_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698