| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |