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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.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/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index d480a9d51027054973a67fdadc6593c8e1a011fb..f1814ac8b1dfe477984aebf277dc53df2f32b212 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -499,7 +499,7 @@ void FrameLoader::receivedFirstData() {
TRACE_EVENT1("devtools.timeline", "CommitLoad", "data",
InspectorCommitLoadEvent::data(m_frame));
- InspectorInstrumentation::didCommitLoad(m_frame, m_documentLoader.get());
+ probe::didCommitLoad(m_frame, m_documentLoader.get());
m_frame->page()->didCommitLoad(m_frame);
dispatchDidClearDocumentOfWindowObject();
@@ -1483,7 +1483,7 @@ void FrameLoader::restoreScrollPositionAndViewStateForLoadType(
String FrameLoader::userAgent() const {
String userAgent = client()->userAgent();
- InspectorInstrumentation::applyUserAgentOverride(m_frame, &userAgent);
+ probe::applyUserAgentOverride(m_frame, &userAgent);
return userAgent;
}
@@ -1822,7 +1822,7 @@ void FrameLoader::startLoad(FrameLoadRequest& frameLoadRequest,
// This should happen after the request is sent, so we don't use
// clearNavigationHandledByClient() above.
if (isNavigationHandledByClient)
- InspectorInstrumentation::frameClearedScheduledClientNavigation(m_frame);
+ probe::frameClearedScheduledClientNavigation(m_frame);
takeObjectSnapshot();
}
@@ -1866,7 +1866,7 @@ void FrameLoader::dispatchDidClearDocumentOfWindowObject() {
// Forcibly instantiate WindowProxy.
m_frame->script().windowProxy(DOMWrapperWorld::mainWorld());
}
- InspectorInstrumentation::didClearDocumentOfWindowObject(m_frame);
+ probe::didClearDocumentOfWindowObject(m_frame);
if (m_dispatchingDidClearWindowObjectInMainWorld)
return;
@@ -2032,12 +2032,12 @@ DocumentLoader* FrameLoader::createDocumentLoader(
void FrameLoader::setNavigationHandledByClient() {
m_isNavigationHandledByClient = true;
- InspectorInstrumentation::frameScheduledClientNavigation(m_frame);
+ probe::frameScheduledClientNavigation(m_frame);
}
void FrameLoader::clearNavigationHandledByClient() {
m_isNavigationHandledByClient = false;
- InspectorInstrumentation::frameClearedScheduledClientNavigation(m_frame);
+ probe::frameClearedScheduledClientNavigation(m_frame);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698