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

Unified Diff: tracing/tracing/base/in_memory_trace_stream.html

Issue 2755943002: tracing: Stream processing for some importers (Closed)
Patch Set: review / sync Created 3 years, 8 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 | « tracing/trace_viewer.gypi ('k') | tracing/tracing/base/xhr.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/in_memory_trace_stream.html
diff --git a/tracing/tracing/base/in_memory_trace_stream.html b/tracing/tracing/base/in_memory_trace_stream.html
index 9c79c7a3bd3c79ff422861043ff56f3cebcd474d..9609485636c3452b10fb26964f830796a4d53d38 100644
--- a/tracing/tracing/base/in_memory_trace_stream.html
+++ b/tracing/tracing/base/in_memory_trace_stream.html
@@ -40,6 +40,15 @@ tr.exportTo('tr.b', function() {
return this.header_;
}
+ get data() {
+ return this.data_;
+ }
+
+ toString() {
+ this.rewind();
+ return this.readNumBytes(Number.MAX_VALUE);
+ }
+
readUntilDelimiter(delim) {
if (delim.length !== 1) {
throw new Error('delim must be exactly one character');
« no previous file with comments | « tracing/trace_viewer.gypi ('k') | tracing/tracing/base/xhr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698