forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new CompressedStringDataSink for compressing traces via the t…
…race controller. Also added a TraceDataEndpoint class that I'm thinking can be used to decouple the creation of the final trace (since there's some special logic in there for adding '{}'s and some specific names like 'traceEvent') from where it gets written. This is used right now by the new BackgroundTracingManager for Slow Reports and Deep Reports, but we could also refactor the existing String and File sinks this way as a follow up CL (WIP here: https://codereview.chromium.org/1002103004/). Then for Deep Reports we can specify the data sink like so: TraceController::DisableRecording( TraceController::CreateCompressedStringSink( TraceController::CreateFileEndpoint(...))); Review URL: https://codereview.chromium.org/1088673003 Cr-Commit-Position: refs/heads/master@{#326783}
- Loading branch information
1 parent
8c1791c
commit 329f14f
Showing
5 changed files
with
368 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.