| Index: third_party/WebKit/Source/modules/fetch/FetchManager.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
|
| index be60585d572dbf9d0f4027c5f1a6248916a61396..6b443d33de2ba9b77a6cd3fe69a000d70dcafaf7 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
|
| @@ -561,9 +561,8 @@ void FetchManager::Loader::loadSucceeded() {
|
| document()->frame()->page()->chromeClient().ajaxSucceeded(
|
| document()->frame());
|
| }
|
| - InspectorInstrumentation::didFinishFetch(m_executionContext, this,
|
| - m_request->method(),
|
| - m_request->url().getString());
|
| + probe::didFinishFetch(m_executionContext, this, m_request->method(),
|
| + m_request->url().getString());
|
| notifyFinished();
|
| }
|
|
|
| @@ -676,7 +675,7 @@ void FetchManager::Loader::start() {
|
| }
|
|
|
| void FetchManager::Loader::dispose() {
|
| - InspectorInstrumentation::detachClientRequest(m_executionContext, this);
|
| + probe::detachClientRequest(m_executionContext, this);
|
| // Prevent notification
|
| m_fetchManager = nullptr;
|
| if (m_loader) {
|
| @@ -838,7 +837,7 @@ void FetchManager::Loader::performHTTPFetch(bool corsFlag,
|
| DenyCrossOriginRequests;
|
| break;
|
| }
|
| - InspectorInstrumentation::willStartFetch(m_executionContext, this);
|
| + probe::willStartFetch(m_executionContext, this);
|
| m_loader =
|
| ThreadableLoader::create(*m_executionContext, this,
|
| threadableLoaderOptions, resourceLoaderOptions);
|
| @@ -871,7 +870,7 @@ void FetchManager::Loader::performDataFetch() {
|
| : EnforceContentSecurityPolicy;
|
| threadableLoaderOptions.crossOriginRequestPolicy = AllowCrossOriginRequests;
|
|
|
| - InspectorInstrumentation::willStartFetch(m_executionContext, this);
|
| + probe::willStartFetch(m_executionContext, this);
|
| m_loader =
|
| ThreadableLoader::create(*m_executionContext, this,
|
| threadableLoaderOptions, resourceLoaderOptions);
|
| @@ -893,7 +892,7 @@ void FetchManager::Loader::failed(const String& message) {
|
| m_resolver->reject(
|
| V8ThrowException::createTypeError(state->isolate(), "Failed to fetch"));
|
| }
|
| - InspectorInstrumentation::didFailFetch(m_executionContext, this);
|
| + probe::didFailFetch(m_executionContext, this);
|
| notifyFinished();
|
| }
|
|
|
|
|