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

Side by Side Diff: Source/core/inspector/InspectorProfilerAgent.cpp

Issue 1133903005: DevTools: [wip] do not use InspectorInstrumentation for will/didProcessTask events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 void InspectorProfilerAgent::willProcessTask() 264 void InspectorProfilerAgent::willProcessTask()
265 { 265 {
266 idleFinished(); 266 idleFinished();
267 } 267 }
268 268
269 void InspectorProfilerAgent::didProcessTask() 269 void InspectorProfilerAgent::didProcessTask()
270 { 270 {
271 idleStarted(); 271 idleStarted();
272 } 272 }
273 273
274 void InspectorProfilerAgent::willEnterNestedRunLoop()
275 {
276 idleStarted();
277 }
278
279 void InspectorProfilerAgent::didLeaveNestedRunLoop()
280 {
281 idleFinished();
282 }
283
284 DEFINE_TRACE(InspectorProfilerAgent) 274 DEFINE_TRACE(InspectorProfilerAgent)
285 { 275 {
286 visitor->trace(m_injectedScriptManager); 276 visitor->trace(m_injectedScriptManager);
287 visitor->trace(m_overlay); 277 visitor->trace(m_overlay);
288 InspectorBaseAgent::trace(visitor); 278 InspectorBaseAgent::trace(visitor);
289 } 279 }
290 280
291 } // namespace blink 281 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorProfilerAgent.h ('k') | Source/core/inspector/WorkerDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698