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

Unified Diff: chrome/browser/net/chrome_network_delegate.cc

Issue 665023002: Post-commit fixes for "stale-while-revalidate..." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 2 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 | « chrome/browser/io_thread.cc ('k') | chrome/browser/predictors/resource_prefetch_predictor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_network_delegate.cc
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc
index fd9afe63e3533b47895a358ff71aec3b92428dc3..a4c911fef6983101b84485a0973dd645554b8e3d 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -572,10 +572,8 @@ void ChromeNetworkDelegate::OnCompleted(net::URLRequest* request,
data_reduction_proxy::GetDataReductionProxyRequestType(request);
base::TimeDelta freshness_lifetime =
- request->response_info()
- .headers->GetFreshnessLifetimes(
- request->response_info().response_time)
- .fresh;
+ request->response_info().headers->GetFreshnessLifetimes(
+ request->response_info().response_time).freshness;
int64 adjusted_original_content_length =
data_reduction_proxy::GetAdjustedOriginalContentLength(
request_type, original_content_length,
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/predictors/resource_prefetch_predictor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698