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

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

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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 * @unrestricted 8 * @unrestricted
9 */ 9 */
10 SDK.TracingModel = class { 10 SDK.TracingModel = class {
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 455
456 /** 456 /**
457 * @interface 457 * @interface
458 */ 458 */
459 SDK.BackingStorage = function() {}; 459 SDK.BackingStorage = function() {};
460 460
461 SDK.BackingStorage.prototype = { 461 SDK.BackingStorage.prototype = {
462 /** 462 /**
463 * @param {string} string 463 * @param {string} string
464 */ 464 */
465 appendString: function(string) {}, 465 appendString(string) {},
466 466
467 /** 467 /**
468 * @param {string} string 468 * @param {string} string
469 * @return {function():!Promise.<?string>} 469 * @return {function():!Promise.<?string>}
470 */ 470 */
471 appendAccessibleString: function(string) {}, 471 appendAccessibleString(string) {},
472 472
473 finishWriting: function() {}, 473 finishWriting() {},
474 474
475 reset: function() {}, 475 reset() {},
476 }; 476 };
477 477
478 /** 478 /**
479 * @unrestricted 479 * @unrestricted
480 */ 480 */
481 SDK.TracingModel.Event = class { 481 SDK.TracingModel.Event = class {
482 /** 482 /**
483 * @param {string} categories 483 * @param {string} categories
484 * @param {string} name 484 * @param {string} name
485 * @param {!SDK.TracingModel.Phase} phase 485 * @param {!SDK.TracingModel.Phase} phase
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 return this._events; 958 return this._events;
959 } 959 }
960 960
961 /** 961 /**
962 * @return {!Array.<!SDK.TracingModel.AsyncEvent>} 962 * @return {!Array.<!SDK.TracingModel.AsyncEvent>}
963 */ 963 */
964 asyncEvents() { 964 asyncEvents() {
965 return this._asyncEvents; 965 return this._asyncEvents;
966 } 966 }
967 }; 967 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698