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

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: 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 3aef2a0c72726da2a3d59cd1b05aebba7c58505c..6f9b22831e0c10644e66088ffcaa1e814cbb693b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
@@ -193,30 +193,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());

Powered by Google App Engine
This is Rietveld 408576698