|
|
DevTools: add extension API to contribute trace events to timeline
This introduced a notion of tracing session to chrome.devtools.timeline API
and lets API client to supply a URL of the trace data to append to the flame
chart.
This also includes:
- exposing a check-box for each extension in Timeline toolbar to
selectively enable extensions;
- extracting Timeline.LoaderClient from TimelineLifecycleDelegate
so that loader can be re-used outside of the panel;
- create a temp file in TimelineBackingStorage lazily, only when
data are actually written there;
- changing TimelineController.startRecording() to accept options
as a struct rather than a bunch of boolean parameters;
- support for dumping a FlameChartDataProvider in tests;
- a new type of events in TimelineFlameChart to support extensions;
BUG= 620066
Committed: https://crrev.com/fbcdc87dd794c67cc5dd809e08986ed364681d5c
Cr-Commit-Position: refs/heads/master@{#438734}
Total comments: 12
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+591 lines, -117 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/inspector/extensions/extensions-timeline-api.html
|
View
|
1
2
|
1 chunk |
+57 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/inspector/extensions/extensions-timeline-api-expected.txt
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/inspector/tracing/buffer-usage.html
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/bindings/TempFile.js
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/extensions/ExtensionAPI.js
|
View
|
1
2
3
|
3 chunks |
+32 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
|
View
|
1
2
|
6 chunks |
+29 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js
|
View
|
1
2
3
|
2 chunks |
+47 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/sdk/TracingModel.js
|
View
|
1
|
7 chunks |
+43 lines, -23 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/timeline/ExtensionTracingSession.js
|
View
|
1
2
3
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/MemoryCountersGraph.js
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
|
View
|
|
6 chunks |
+32 lines, -23 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
View
|
1
2
3
|
17 chunks |
+73 lines, -22 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChartView.js
|
View
|
1
|
4 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/TimelineLoader.js
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
|
View
|
1
2
3
|
15 chunks |
+111 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/timeline/module.json
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 27 (13 generated)
|