Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ec06cc95fa2d52220c8adebe02bee826d75dc825 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js |
| @@ -0,0 +1,36 @@ |
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +/** |
| + * @constructor |
| + * @implements {Service} |
| + */ |
| +function Audits2Service() |
| +{ |
| +} |
| + |
| +Audits2Service.prototype = { |
| + start: function() |
|
dgozman
2016/10/14 03:14:58
@return
|
| + { |
| + console.error("WORKER START"); |
| + return Promise.resolve(); |
| + }, |
| + |
| + stop: function() |
|
dgozman
2016/10/14 03:14:58
@return
|
| + { |
| + console.error("WORKER STOP"); |
| + return Promise.resolve(); |
| + }, |
| + |
| + /** |
| + * @override |
|
dgozman
2016/10/14 03:14:58
@return
|
| + */ |
| + dispose: function() |
| + { |
| + console.error("WORKER DISPOSE"); |
| + return Promise.resolve(); |
| + } |
| +} |
| + |
| +initializeWorkerService("Audits2Service", Audits2Service); |