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

Unified Diff: content/child/resource_dispatcher.cc

Issue 138513002: Plumb network stack information about existence of cached copy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 3da70c331b6dd391c79474f018086bc7ac75bbbd..1c4351df496a8844dd3e1f7114b7f44aca17fe00 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -521,6 +521,7 @@ void ResourceDispatcher::OnRequestComplete(
int request_id,
int error_code,
bool was_ignored_by_handler,
+ bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& browser_completion_time) {
TRACE_EVENT0("loader", "ResourceDispatcher::OnRequestComplete");
@@ -548,7 +549,8 @@ void ResourceDispatcher::OnRequestComplete(
// The request ID will be removed from our pending list in the destructor.
// Normally, dispatching this message causes the reference-counted request to
// die immediately.
- peer->OnCompletedRequest(error_code, was_ignored_by_handler, security_info,
+ peer->OnCompletedRequest(error_code, was_ignored_by_handler,
+ stale_copy_in_cache, security_info,
renderer_completion_time);
}

Powered by Google App Engine
This is Rietveld 408576698