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

Unified Diff: Source/core/loader/ResourceLoader.cpp

Issue 13912021: [Resource Timing] Expose redirect timing information (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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: Source/core/loader/ResourceLoader.cpp
diff --git a/Source/core/loader/ResourceLoader.cpp b/Source/core/loader/ResourceLoader.cpp
index 06f5e681020f16006f638a347d12ded62a2fa429..36ebb80a37d49724c58a31add78448df7279255d 100644
--- a/Source/core/loader/ResourceLoader.cpp
+++ b/Source/core/loader/ResourceLoader.cpp
@@ -367,6 +367,7 @@ void ResourceLoader::willSendRequest(ResourceHandle*, ResourceRequest& request,
return;
}
m_resource->willSendRequest(request, redirectResponse);
+ m_documentLoader->cachedResourceLoader()->redirectReceived(m_resource, redirectResponse);
}
if (request.isNull() || reachedTerminalState())

Powered by Google App Engine
This is Rietveld 408576698