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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionTraceProvider.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots 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 * @unrestricted 2 * @unrestricted
3 */ 3 */
4 WebInspector.ExtensionTraceProvider = class { 4 Extensions.ExtensionTraceProvider = class {
5 /** 5 /**
6 * @param {string} extensionOrigin 6 * @param {string} extensionOrigin
7 * @param {string} id 7 * @param {string} id
8 * @param {string} categoryName 8 * @param {string} categoryName
9 * @param {string} categoryTooltip 9 * @param {string} categoryTooltip
10 */ 10 */
11 constructor(extensionOrigin, id, categoryName, categoryTooltip) { 11 constructor(extensionOrigin, id, categoryName, categoryTooltip) {
12 this._extensionOrigin = extensionOrigin; 12 this._extensionOrigin = extensionOrigin;
13 this._id = id; 13 this._id = id;
14 this._categoryName = categoryName; 14 this._categoryName = categoryName;
15 this._categoryTooltip = categoryTooltip; 15 this._categoryTooltip = categoryTooltip;
16 } 16 }
17 start() { 17 start() {
18 WebInspector.extensionServer.startTraceRecording(this._id); 18 Extensions.extensionServer.startTraceRecording(this._id);
19 } 19 }
20 20
21 stop() { 21 stop() {
22 WebInspector.extensionServer.stopTraceRecording(this._id); 22 Extensions.extensionServer.stopTraceRecording(this._id);
23 } 23 }
24 }; 24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698