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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.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/core/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 59b86858fb918079b9cd8b53a88cb3e7fbbdc15f..d276fb5e9fa0f275b416586b9ecd9992763d09fe 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -292,7 +292,7 @@ void DocumentLoader::notifyFinished(Resource* resource) {
m_applicationCacheHost->failedLoadingMainResource();
if (m_mainResource->resourceError().wasBlockedByResponse()) {
- InspectorInstrumentation::canceledAfterReceivedResourceResponse(
+ probe::canceledAfterReceivedResourceResponse(
m_frame, this, mainResourceIdentifier(), resource->response(),
m_mainResource.get());
}
@@ -420,7 +420,7 @@ bool DocumentLoader::shouldContinueForResponse() const {
void DocumentLoader::cancelLoadAfterCSPDenied(
const ResourceResponse& response) {
- InspectorInstrumentation::canceledAfterReceivedResourceResponse(
+ probe::canceledAfterReceivedResourceResponse(
m_frame, this, mainResourceIdentifier(), response, m_mainResource.get());
setWasBlockedAfterCSP();
@@ -510,9 +510,8 @@ void DocumentLoader::responseReceived(
m_mainResource->setDataBufferingPolicy(BufferData);
if (!shouldContinueForResponse()) {
- InspectorInstrumentation::continueWithPolicyIgnore(
- m_frame, this, m_mainResource->identifier(), m_response,
- m_mainResource.get());
+ probe::continueWithPolicyIgnore(m_frame, this, m_mainResource->identifier(),
+ m_response, m_mainResource.get());
m_fetcher->stopFetching();
return;
}

Powered by Google App Engine
This is Rietveld 408576698