Index: net/http/http_cache_transaction.h |
=================================================================== |
--- net/http/http_cache_transaction.h (revision 199488) |
+++ net/http/http_cache_transaction.h (working copy) |
@@ -385,6 +385,10 @@ |
void RunDelayedLoop(base::TimeTicks delay_start_time, |
base::TimeDelta intended_delay, int result); |
+ // Updates |last_network_trans_load_timing_| from |network_trans_|, which must |
+ // be non-NULL. Only called before deleting the old transaction. |
gavinp
2013/05/10 20:23:03
I think "old network transaction" would make thing
mmenke
2013/05/10 20:44:00
Done. I agree that "old" is clearer.
|
+ void CacheLoadTimingInformation(); |
gavinp
2013/05/10 20:23:03
In that vein, using "Cache" here to mean "make a c
mmenke
2013/05/10 20:44:00
Switched to ResetNetworkTransaction, since we alwa
|
+ |
State next_state_; |
const HttpRequestInfo* request_; |
RequestPriority priority_; |
@@ -447,6 +451,11 @@ |
int sensitivity_analysis_percent_increase_; |
HttpTransactionDelegate* transaction_delegate_; |
+ |
+ // Load timing information for the last network request, if any. Set in the |
+ // 304 and 206 response cases, as the network transaction may be destroyed |
+ // before the caller requests load timing information. |
+ scoped_ptr<LoadTimingInfo> last_network_trans_load_timing_; |
}; |
} // namespace net |