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

Unified Diff: Source/devtools/protocol.json

Issue 331303002: Add Tracing.getCategories to protocol.json. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « no previous file | 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 efb1b5ad5f256922ea642233e8eccae62efe40ec..c261a707a6012f3d229ccddb7129e649fde4895a 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -4126,6 +4126,14 @@
"name": "end",
"description": "Stop trace events collection.",
"handlers": ["browser", "frontend"]
+ },
+ {
+ "name": "getCategories",
+ "description": "Gets supported tracing categories.",
+ "returns": [
+ { "name": "categories", "type": "array", "description": "A list of supported tracing categories." }
caseq 2014/06/17 18:38:23 You probably want items: { "type": "string" } here
chrishenry 2014/06/17 18:53:41 Curious, why should this be string instead of an a
+ ],
+ "handlers": ["browser", "frontend"]
chrishenry 2014/06/17 17:23:50 I'm not sure about this handlers field. Do you kno
caseq 2014/06/17 18:38:23 This one is correct (this tells the code generator
chrishenry 2014/06/17 18:53:41 Thank you! I'm curious why Tracing.start needs to
}
],
"events": [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698