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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/TracingModel.js

Issue 2169153002: DevTools: make all timeline trace events use 0-based line numbers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update expectation Created 4 years, 5 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
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 * @param {!WebInspector.BackingStorage} backingStorage 9 * @param {!WebInspector.BackingStorage} backingStorage
10 */ 10 */
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 this.startTime = startTime; 440 this.startTime = startTime;
441 /** @type {!WebInspector.TracingModel.Thread} */ 441 /** @type {!WebInspector.TracingModel.Thread} */
442 this.thread = thread; 442 this.thread = thread;
443 /** @type {!Object} */ 443 /** @type {!Object} */
444 this.args = {}; 444 this.args = {};
445 445
446 /** @type {?string} */ 446 /** @type {?string} */
447 this.warning = null; 447 this.warning = null;
448 /** @type {?WebInspector.TracingModel.Event} */ 448 /** @type {?WebInspector.TracingModel.Event} */
449 this.initiator = null; 449 this.initiator = null;
450 /** @type {?Array.<!RuntimeAgent.CallFrame>} */ 450 /** @type {?Array<!RuntimeAgent.CallFrame>} */
451 this.stackTrace = null; 451 this.stackTrace = null;
452 /** @type {?Element} */ 452 /** @type {?Element} */
453 this.previewElement = null; 453 this.previewElement = null;
454 /** @type {?string} */ 454 /** @type {?string} */
455 this.url = null; 455 this.url = null;
456 /** @type {number} */ 456 /** @type {number} */
457 this.backendNodeId = 0; 457 this.backendNodeId = 0;
458 458
459 /** @type {number} */ 459 /** @type {number} */
460 this.selfTime = 0; 460 this.selfTime = 0;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 /** 928 /**
929 * @return {!Array.<!WebInspector.TracingModel.AsyncEvent>} 929 * @return {!Array.<!WebInspector.TracingModel.AsyncEvent>}
930 */ 930 */
931 asyncEvents: function() 931 asyncEvents: function()
932 { 932 {
933 return this._asyncEvents; 933 return this._asyncEvents;
934 }, 934 },
935 935
936 __proto__: WebInspector.TracingModel.NamedObject.prototype 936 __proto__: WebInspector.TracingModel.NamedObject.prototype
937 } 937 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698