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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js

Issue 2417703006: DevTools: introduce a stub for the new audits panel (behind experiment). (Closed)
Patch Set: missing file added. Created 4 years, 2 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
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @constructor
7 * @implements {Service}
8 */
9 function Audits2Service()
10 {
11 }
12
13 Audits2Service.prototype = {
14 /**
15 * @return {!Promise}
16 */
17 start: function()
18 {
19 console.error("WORKER START");
20 return Promise.resolve();
21 },
22
23 /**
24 * @return {!Promise}
25 */
26 stop: function()
27 {
28 console.error("WORKER STOP");
29 return Promise.resolve();
30 },
31
32 /**
33 * @override
34 */
35 dispose: function()
36 {
37 console.error("WORKER DISPOSE");
38 }
39 }
40
41 initializeWorkerService("Audits2Service", Audits2Service);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698