| Index: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js
|
| index 47eb94d51bbb6c644b5b7b83877ecc479638e23a..f0754adff562e6ed36016db0654bfb47a48d7678 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js
|
| @@ -1,26 +1,24 @@
|
| /**
|
| - * @constructor
|
| - * @param {string} extensionOrigin
|
| - * @param {string} id
|
| - * @param {string} categoryName
|
| - * @param {string} categoryTooltip
|
| + * @unrestricted
|
| */
|
| -WebInspector.ExtensionTraceProvider = function(extensionOrigin, id, categoryName, categoryTooltip)
|
| -{
|
| +WebInspector.ExtensionTraceProvider = class {
|
| + /**
|
| + * @param {string} extensionOrigin
|
| + * @param {string} id
|
| + * @param {string} categoryName
|
| + * @param {string} categoryTooltip
|
| + */
|
| + constructor(extensionOrigin, id, categoryName, categoryTooltip) {
|
| this._extensionOrigin = extensionOrigin;
|
| this._id = id;
|
| this._categoryName = categoryName;
|
| this._categoryTooltip = categoryTooltip;
|
| -};
|
| -
|
| -WebInspector.ExtensionTraceProvider.prototype = {
|
| - start: function()
|
| - {
|
| - WebInspector.extensionServer.startTraceRecording(this._id);
|
| - },
|
| + }
|
| + start() {
|
| + WebInspector.extensionServer.startTraceRecording(this._id);
|
| + }
|
|
|
| - stop: function()
|
| - {
|
| - WebInspector.extensionServer.stopTraceRecording(this._id);
|
| - }
|
| + stop() {
|
| + WebInspector.extensionServer.stopTraceRecording(this._id);
|
| + }
|
| };
|
|
|