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

Unified Diff: Source/devtools/protocol.json

Issue 254613002: DevTools: add Tracing agent on back-end (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed a stray call to TracingAgent.enable() Created 6 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
« no previous file with comments | « Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index b795152b7a996fd582dfb415257e41ca85874daa..9378033393aa9cf47102fed80dea1bd642a49b1a 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -2773,10 +2773,7 @@
"commands": [
{
"name": "enable",
- "description": "Enables timeline. After this call, timeline can be started from within the page (for example upon console.timeline).",
- "parameters": [
- { "name": "traceEventCategoryFilter", "optional": true, "type": "string", "description": "If set, the timeline agent will automatically start tracing with the specified category filter when timeline is started." }
- ]
+ "description": "Enables timeline. After this call, timeline can be started from within the page (for example upon console.timeline)."
},
{
"name": "disable",
@@ -4032,13 +4029,15 @@
{
"name": "start",
"description": "Start trace events collection.",
- "async": true,
"parameters": [
{ "name": "categories", "type": "string", "description": "Category/tag filter" },
{ "name": "options", "type": "string", "description": "Tracing options" },
{ "name": "bufferUsageReportingInterval", "type": "number", "optional": true, "description": "If set, the agent will issue bufferUsage events at this interval, specified in milliseconds" }
],
- "handlers": ["browser", "frontend"]
+ "returns": [
+ { "name": "sessionId", "type": "string", "description": "A system-unique identifier of the tracing session that allows associating of some of the trace events with the inspected page" }
+ ],
+ "handlers": ["browser", "renderer", "frontend"]
},
{
"name": "end",
@@ -4052,10 +4051,12 @@
"parameters": [
{ "name": "value", "type": "array", "items": { "type": "object" } }
],
+ "description": "Contains an bucket of collected trace events.",
"handlers": ["browser", "frontend"]
},
{
"name": "tracingComplete",
+ "description": "Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.",
"handlers": ["browser", "frontend"]
},
{
« no previous file with comments | « Source/devtools/front_end/timeline/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698