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

Unified Diff: third_party/WebKit/Source/core/events/GenericEventQueue.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/events/GenericEventQueue.cpp
diff --git a/third_party/WebKit/Source/core/events/GenericEventQueue.cpp b/third_party/WebKit/Source/core/events/GenericEventQueue.cpp
index 1a178527dc1758d714eb9c06f3dae3ae970bf85f..a100580a2f22b482515abfa91aa142129a7e8f18 100644
--- a/third_party/WebKit/Source/core/events/GenericEventQueue.cpp
+++ b/third_party/WebKit/Source/core/events/GenericEventQueue.cpp
@@ -58,8 +58,8 @@ bool GenericEventQueue::enqueueEvent(Event* event) {
TRACE_EVENT_ASYNC_BEGIN1("event", "GenericEventQueue:enqueueEvent", event,
"type", event->type().ascii());
EventTarget* target = event->target() ? event->target() : m_owner.get();
- InspectorInstrumentation::asyncTaskScheduled(target->getExecutionContext(),
- event->type(), event);
+ probe::asyncTaskScheduled(target->getExecutionContext(), event->type(),
+ event);
m_pendingEvents.push_back(event);
if (!m_timer.isActive())
@@ -73,8 +73,7 @@ bool GenericEventQueue::cancelEvent(Event* event) {
if (found) {
EventTarget* target = event->target() ? event->target() : m_owner.get();
- InspectorInstrumentation::asyncTaskCanceled(target->getExecutionContext(),
- event);
+ probe::asyncTaskCanceled(target->getExecutionContext(), event);
m_pendingEvents.remove(m_pendingEvents.find(event));
TRACE_EVENT_ASYNC_END2("event", "GenericEventQueue:enqueueEvent", event,
"type", event->type().ascii(), "status",
@@ -98,8 +97,7 @@ void GenericEventQueue::timerFired(TimerBase*) {
Event* event = pendingEvent.get();
EventTarget* target = event->target() ? event->target() : m_owner.get();
CString type(event->type().ascii());
- InspectorInstrumentation::AsyncTask asyncTask(target->getExecutionContext(),
- event);
+ probe::AsyncTask asyncTask(target->getExecutionContext(), event);
TRACE_EVENT_ASYNC_STEP_INTO1("event", "GenericEventQueue:enqueueEvent",
event, "dispatch", "type", type);
target->dispatchEvent(pendingEvent);
@@ -122,8 +120,7 @@ void GenericEventQueue::cancelAllEvents() {
"type", event->type().ascii(), "status",
"cancelled");
EventTarget* target = event->target() ? event->target() : m_owner.get();
- InspectorInstrumentation::asyncTaskCanceled(target->getExecutionContext(),
- event);
+ probe::asyncTaskCanceled(target->getExecutionContext(), event);
}
m_pendingEvents.clear();
}
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698