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

Side by Side Diff: Source/devtools/front_end/timeline/TracingModel.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 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 * @extends {WebInspector.SDKObject} 9 * @extends {WebInspector.SDKObject}
10 */ 10 */
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 ThreadSortIndex: "thread_sort_index", 67 ThreadSortIndex: "thread_sort_index",
68 ThreadName: "thread_name" 68 ThreadName: "thread_name"
69 } 69 }
70 70
71 WebInspector.TracingModel.DevToolsMetadataEventCategory = "disabled-by-default-d evtools.timeline"; 71 WebInspector.TracingModel.DevToolsMetadataEventCategory = "disabled-by-default-d evtools.timeline";
72 72
73 WebInspector.TracingModel.FrameLifecycleEventCategory = "cc,devtools"; 73 WebInspector.TracingModel.FrameLifecycleEventCategory = "cc,devtools";
74 74
75 WebInspector.TracingModel.DevToolsMetadataEvent = { 75 WebInspector.TracingModel.DevToolsMetadataEvent = {
76 TracingStartedInPage: "TracingStartedInPage", 76 TracingStartedInPage: "TracingStartedInPage",
77 TracingStartedInWorker: "TracingStartedInWorker",
77 }; 78 };
78 79
79 WebInspector.TracingModel.prototype = { 80 WebInspector.TracingModel.prototype = {
80 /** 81 /**
81 * @return {!Array.<!WebInspector.TracingModel.Event>} 82 * @return {!Array.<!WebInspector.TracingModel.Event>}
82 */ 83 */
83 devtoolsMetadataEvents: function() 84 devtoolsMetadataEvents: function()
84 { 85 {
85 return this._devtoolsMetadataEvents; 86 return this._devtoolsMetadataEvents;
86 }, 87 },
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 started: function(consoleTimeline, sessionId) 663 started: function(consoleTimeline, sessionId)
663 { 664 {
664 this._tracingModel._tracingStarted(sessionId); 665 this._tracingModel._tracingStarted(sessionId);
665 }, 666 },
666 667
667 stopped: function() 668 stopped: function()
668 { 669 {
669 this._tracingModel._onStop(); 670 this._tracingModel._onStop();
670 } 671 }
671 } 672 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698