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

Side by Side Diff: Source/devtools/front_end/timeline/TracingTimelineModel.js

Issue 460363002: Record DevTools metadata events on worker threads when starting recoring tracing based Timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @param {!WebInspector.TracingModel} tracingModel 7 * @param {!WebInspector.TracingModel} tracingModel
8 * @param {!WebInspector.TimelineModel.Filter} recordFilter 8 * @param {!WebInspector.TimelineModel.Filter} recordFilter
9 * @extends {WebInspector.TimelineModel} 9 * @extends {WebInspector.TimelineModel}
10 */ 10 */
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 WebSocketCreate : "WebSocketCreate", 80 WebSocketCreate : "WebSocketCreate",
81 WebSocketSendHandshakeRequest : "WebSocketSendHandshakeRequest", 81 WebSocketSendHandshakeRequest : "WebSocketSendHandshakeRequest",
82 WebSocketReceiveHandshakeResponse : "WebSocketReceiveHandshakeResponse", 82 WebSocketReceiveHandshakeResponse : "WebSocketReceiveHandshakeResponse",
83 WebSocketDestroy : "WebSocketDestroy", 83 WebSocketDestroy : "WebSocketDestroy",
84 84
85 EmbedderCallback : "EmbedderCallback", 85 EmbedderCallback : "EmbedderCallback",
86 86
87 CallStack: "CallStack", 87 CallStack: "CallStack",
88 SetLayerTreeId: "SetLayerTreeId", 88 SetLayerTreeId: "SetLayerTreeId",
89 TracingStartedInPage: "TracingStartedInPage", 89 TracingStartedInPage: "TracingStartedInPage",
90 TracingStartedInWorker: "TracingStartedInWorker",
90 91
91 DecodeImage: "Decode Image", 92 DecodeImage: "Decode Image",
92 ResizeImage: "Resize Image", 93 ResizeImage: "Resize Image",
93 DrawLazyPixelRef: "Draw LazyPixelRef", 94 DrawLazyPixelRef: "Draw LazyPixelRef",
94 DecodeLazyPixelRef: "Decode LazyPixelRef", 95 DecodeLazyPixelRef: "Decode LazyPixelRef",
95 96
96 LazyPixelRef: "LazyPixelRef", 97 LazyPixelRef: "LazyPixelRef",
97 LayerTreeHostImplSnapshot: "cc::LayerTreeHostImpl", 98 LayerTreeHostImplSnapshot: "cc::LayerTreeHostImpl",
98 PictureSnapshot: "cc::Picture" 99 PictureSnapshot: "cc::Picture"
99 }; 100 };
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 }, 980 },
980 981
981 _didWriteNextChunk: function(stream) 982 _didWriteNextChunk: function(stream)
982 { 983 {
983 if (this._recordIndex === this._payloads.length) 984 if (this._recordIndex === this._payloads.length)
984 stream.close(); 985 stream.close();
985 else 986 else
986 this._writeNextChunk(stream); 987 this._writeNextChunk(stream);
987 } 988 }
988 } 989 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698