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

Unified Diff: net/http/http_transaction.h

Issue 1072423005: Set network_accessed earlier, when network transaction creates stream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't break build on iOS Created 5 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/http/http_network_transaction_unittest.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('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 5b7ea9be4d8ad21c3f3677b5c81a3a28226a12ea..6b8ea70cb3b679fd1ad1112923819a9869360cc7 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -133,8 +133,8 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// entire response body is to be ignored (e.g., in a redirect).
virtual void DoneReading() = 0;
- // Returns the response info for this transaction or NULL if the response
- // info is not available.
+ // Returns the response info for this transaction. Must not be called until
+ // |Start| completes.
virtual const HttpResponseInfo* GetResponseInfo() const = 0;
// Returns the load state for this transaction.
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698