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

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: Address review comment. 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..972062bfed06d1e997919323127c98a4f42746c5 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", "items": { "type": "string" }, "description": "A list of supported tracing categories." }
+ ],
+ "handlers": ["browser", "frontend"]
}
],
"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