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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.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/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index 6e7866c5b5907f00d4a255766900a69498723f20..78e95e367b4ce170734e2c19d3b63809b811a600 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -114,8 +114,7 @@ class PostMessageTimer final
m_location(std::move(location)),
m_userGestureToken(userGestureToken),
m_disposalAllowed(true) {
- InspectorInstrumentation::asyncTaskScheduled(window.document(),
- "postMessage", this);
+ probe::asyncTaskScheduled(window.document(), "postMessage", this);
}
MessageEvent* event() const { return m_event; }
@@ -147,7 +146,7 @@ class PostMessageTimer final
private:
void fired() override {
- InspectorInstrumentation::AsyncTask asyncTask(m_window->document(), this);
+ probe::AsyncTask asyncTask(m_window->document(), this);
m_disposalAllowed = false;
m_window->postMessageTimerFired(this);
dispose();
@@ -1505,7 +1504,7 @@ void LocalDOMWindow::dispatchLoadEvent() {
TRACE_EVENT_INSTANT1("devtools.timeline", "MarkLoad",
TRACE_EVENT_SCOPE_THREAD, "data",
InspectorMarkLoadEvent::data(frame()));
- InspectorInstrumentation::loadEventFired(frame());
+ probe::loadEventFired(frame());
}
DispatchEventResult LocalDOMWindow::dispatchEvent(Event* event,
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698