| Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| index f7fcd772965cc5c12ac3a9c865d8872eae65906a..bbbd07160947971f1e0664ae5caadb2d2303d772 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| @@ -29,6 +29,7 @@
|
|
|
| #include "platform/Histogram.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "platform/instrumentation/PlatformInstrumentation.h"
|
| #include "platform/instrumentation/tracing/TraceEvent.h"
|
| #include "platform/instrumentation/tracing/TracedValue.h"
|
| #include "platform/loader/fetch/FetchContext.h"
|
| @@ -1247,8 +1248,13 @@ bool ResourceFetcher::startLoad(Resource* resource) {
|
| }
|
|
|
| ResourceRequest request(resource->resourceRequest());
|
| - context().dispatchWillSendRequest(resource->identifier(), request,
|
| - ResourceResponse(),
|
| + ResourceResponse response;
|
| +
|
| + blink::probe::PlatformSendRequest probe(&context(), resource->identifier(),
|
| + request, response,
|
| + resource->options().initiatorInfo);
|
| +
|
| + context().dispatchWillSendRequest(resource->identifier(), request, response,
|
| resource->options().initiatorInfo);
|
|
|
| // TODO(shaochuan): Saving modified ResourceRequest back to |resource|, remove
|
|
|