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

Unified Diff: Source/core/inspector/InspectorInstrumentation.idl

Issue 24027002: DevTools: implement console.timeline/timelineEnd. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comments addressed. Created 7 years, 3 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: Source/core/inspector/InspectorInstrumentation.idl
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl
index b706ee501df9add79d19cf1c5c41442d865b0cbe..859232074e8bd10a39102ac16b727f83ca1a2a66 100644
--- a/Source/core/inspector/InspectorInstrumentation.idl
+++ b/Source/core/inspector/InspectorInstrumentation.idl
@@ -458,16 +458,19 @@ interface InspectorConsoleInstrumentation {
void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassRefPtr<ScriptArguments> arguments);
[Timeline, Console]
- void startConsoleTiming([Keep] ScriptExecutionContext* context, const String& title);
+ void consoleTime([Keep] ScriptExecutionContext* context, const String& title);
[Console, Timeline]
- void stopConsoleTiming([Keep] ScriptExecutionContext* context, const String& title, PassRefPtr<ScriptCallStack> stack);
+ void consoleTimeEnd([Keep] ScriptExecutionContext* context, const String& title, ScriptState* state);
[Timeline, Inline=FastReturn]
- void consoleTimeStamp([Keep] ScriptExecutionContext* context, PassRefPtr<ScriptArguments> arguments);
+ void consoleTimeStamp([Keep] ScriptExecutionContext* context, const String& title);
- [Profiler]
- void addStartProfilingMessageToConsole(ScriptExecutionContext* context, const String& title, unsigned lineNumber, const String& sourceURL);
+ [Console, Inline=FastReturn]
+ void consoleTimeline([Keep] ScriptExecutionContext* context, const String& title, ScriptState* state);
+
+ [Console, Inline=FastReturn]
+ void consoleTimelineEnd([Keep] ScriptExecutionContext* context, const String& title, ScriptState* state);
[Profiler]
void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> profile, PassRefPtr<ScriptCallStack> callStack);

Powered by Google App Engine
This is Rietveld 408576698