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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 1997253002: webRequest: Set frameId on beacon/ping requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webRequest-tabId
Patch Set: Re-use dispatchWillSendRequest Created 4 years, 7 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/test/data/extensions/api_test/webrequest/test_types.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index e87262768e3104daf14c384223c9f08c52d4ee9d..02911516f05519d7fc245c1b508abf365b700dfd 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -138,9 +138,7 @@ PingLoader::PingLoader(LocalFrame* frame, ResourceRequest& request, const FetchI
, m_keepAlive(this)
{
frame->loader().client()->didDispatchPingLoader(request.url());
-
- TRACE_EVENT_INSTANT1("devtools.timeline", "ResourceSendRequest", TRACE_EVENT_SCOPE_THREAD, "data", InspectorSendRequestEvent::data(m_identifier, frame, request));
- InspectorInstrumentation::willSendRequest(frame, m_identifier, frame->loader().documentLoader(), request, ResourceResponse(), initiatorInfo);
+ frame->document()->fetcher()->context().dispatchWillSendRequest(m_identifier, request, ResourceResponse(), initiatorInfo);
m_loader = adoptPtr(Platform::current()->createURLLoader());
ASSERT(m_loader);
« no previous file with comments | « chrome/test/data/extensions/api_test/webrequest/test_types.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698