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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchManager.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 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: 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();
}
« no previous file with comments | « third_party/WebKit/Source/modules/eventsource/EventSource.cpp ('k') | third_party/WebKit/Source/modules/fetch/GlobalFetch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698