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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorSession.cpp

Issue 1913283003: [DevTools] Rework idle{Started,Finished} instrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1907663005
Patch Set: rebased Created 4 years, 8 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/inspector/InspectorSession.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
index 587a9166bc6fe03cfcf08cbe0799acfab70933bd..f11042374a048725a02b4a4f4e7bd3bdac674bff 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
@@ -192,30 +192,6 @@ void InspectorSession::didClearDocumentOfWindowObject(LocalFrame* frame)
frame->script().initializeMainWorld();
}
-void InspectorSession::willProcessTask()
-{
- ASSERT(isInstrumenting());
- m_v8Session->profilerAgent()->idleFinished();
-}
-
-void InspectorSession::didProcessTask()
-{
- ASSERT(isInstrumenting());
- m_v8Session->profilerAgent()->idleStarted();
-}
-
-void InspectorSession::willEnterNestedRunLoop()
-{
- ASSERT(isInstrumenting());
- m_v8Session->profilerAgent()->idleStarted();
-}
-
-void InspectorSession::didLeaveNestedRunLoop()
-{
- ASSERT(isInstrumenting());
- m_v8Session->profilerAgent()->idleFinished();
-}
-
void InspectorSession::startInstrumenting()
{
ASSERT(!isInstrumenting());
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorSession.h ('k') | third_party/WebKit/Source/core/inspector/ThreadDebugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698