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

Unified Diff: net/http/http_cache_transaction.cc

Issue 12886022: Implement offline mode behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 7 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
Index: net/http/http_cache_transaction.cc
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index fce6bac43ce0d3389fc8ad0fa70ff05e9573edbe..5ecf68ef5577b23e4bb0354bbebc54ab10f8a53d 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -1188,6 +1188,7 @@ int HttpCache::Transaction::DoUpdateCachedResponse() {
response_.headers->Update(*new_response_->headers);
response_.response_time = new_response_->response_time;
response_.request_time = new_response_->request_time;
+ response_.network_accessed = new_response_->network_accessed;
if (response_.headers->HasHeaderValue("cache-control", "no-store")) {
if (!entry_->doomed) {

Powered by Google App Engine
This is Rietveld 408576698