| 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..957d7a1b7b884320606fb0e746c270cab84c8ec9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
|
| @@ -0,0 +1,41 @@
|
| +// 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 = {
|
| + /**
|
| + * @return {!Promise}
|
| + */
|
| + start: function()
|
| + {
|
| + console.error("WORKER START");
|
| + return Promise.resolve();
|
| + },
|
| +
|
| + /**
|
| + * @return {!Promise}
|
| + */
|
| + stop: function()
|
| + {
|
| + console.error("WORKER STOP");
|
| + return Promise.resolve();
|
| + },
|
| +
|
| + /**
|
| + * @override
|
| + */
|
| + dispose: function()
|
| + {
|
| + console.error("WORKER DISPOSE");
|
| + }
|
| +}
|
| +
|
| +initializeWorkerService("Audits2Service", Audits2Service);
|
|
|