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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 160513002: Reports Prerender and Profile Total Bytes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index ab93adb2e0b800cb5a5be9a2a42c3aab4879b20f..ae3a670fd4eaf28bc56159f8a1205df29c6106b0 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -785,6 +785,11 @@ void ResourceDispatcherHostImpl::DidFinishLoading(ResourceLoader* loader) {
-loader->request()->status().error());
}
+ if (delegate_) {
+ delegate_->RequestComplete(
+ loader->request(), info->GetChildID(), info->GetRouteID());
tburkard 2014/02/12 19:54:56 nit: isnt child/route id also in the request, in e
jkarlin 2014/02/13 13:24:49 Done.
+ }
+
// Destroy the ResourceLoader.
RemovePendingRequest(info->GetChildID(), info->GetRequestID());
}

Powered by Google App Engine
This is Rietveld 408576698