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

Side by Side Diff: Source/devtools/protocol.json

Issue 213003002: DevTools: allow whitelist of timeline events to be pushed live although in bufferEvent mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same with front-end Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 2755 matching lines...) Expand 10 before | Expand all | Expand 10 after
2766 }, 2766 },
2767 { 2767 {
2768 "name": "disable", 2768 "name": "disable",
2769 "description": "Disables timeline." 2769 "description": "Disables timeline."
2770 }, 2770 },
2771 { 2771 {
2772 "name": "start", 2772 "name": "start",
2773 "parameters": [ 2773 "parameters": [
2774 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." }, 2774 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." },
2775 { "name": "bufferEvents", "optional": true, "type": "boolean ", "hidden": true, "description": "Whether instrumentation events should be buff ered and returned upon <code>stop</code> call." }, 2775 { "name": "bufferEvents", "optional": true, "type": "boolean ", "hidden": true, "description": "Whether instrumentation events should be buff ered and returned upon <code>stop</code> call." },
2776 { "name": "liveEvents", "optional": true, "type": "string", "hidden": true, "description": "Coma separated event types to issue although buf ferEvents is set."},
2776 { "name": "includeCounters", "optional": true, "type": "bool ean", "hidden": true, "description": "Whether counters data should be included i nto timeline events." }, 2777 { "name": "includeCounters", "optional": true, "type": "bool ean", "hidden": true, "description": "Whether counters data should be included i nto timeline events." },
2777 { "name": "includeGPUEvents", "optional": true, "type": "boo lean", "hidden": true, "description": "Whether events from GPU process should be collected." } 2778 { "name": "includeGPUEvents", "optional": true, "type": "boo lean", "hidden": true, "description": "Whether events from GPU process should be collected." }
2778 ], 2779 ],
2779 "description": "Starts capturing instrumentation events." 2780 "description": "Starts capturing instrumentation events."
2780 }, 2781 },
2781 { 2782 {
2782 "name": "stop", 2783 "name": "stop",
2783 "description": "Stops capturing instrumentation events.", 2784 "description": "Stops capturing instrumentation events.",
2784 "returns": [ 2785 "returns": [
2785 { "name": "events", "type": "array", "items": { "$ref": "Tim elineEvent" }, "optional": true, "hidden": true, "description": "Timeline event record data." } 2786 { "name": "events", "type": "array", "items": { "$ref": "Tim elineEvent" }, "optional": true, "hidden": true, "description": "Timeline event record data." }
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
4069 { 4070 {
4070 "name": "dataAvailable", 4071 "name": "dataAvailable",
4071 "parameters": [ 4072 "parameters": [
4072 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4073 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4073 ], 4074 ],
4074 "handlers": ["browser", "frontend"] 4075 "handlers": ["browser", "frontend"]
4075 } 4076 }
4076 ] 4077 ]
4077 }] 4078 }]
4078 } 4079 }
OLDNEW
« Source/devtools/front_end/TimelineModel.js ('K') | « Source/devtools/front_end/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698