Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 start: function() | |
|
dgozman
2016/10/14 03:14:58
@return
| |
| 15 { | |
| 16 console.error("WORKER START"); | |
| 17 return Promise.resolve(); | |
| 18 }, | |
| 19 | |
| 20 stop: function() | |
|
dgozman
2016/10/14 03:14:58
@return
| |
| 21 { | |
| 22 console.error("WORKER STOP"); | |
| 23 return Promise.resolve(); | |
| 24 }, | |
| 25 | |
| 26 /** | |
| 27 * @override | |
|
dgozman
2016/10/14 03:14:58
@return
| |
| 28 */ | |
| 29 dispose: function() | |
| 30 { | |
| 31 console.error("WORKER DISPOSE"); | |
| 32 return Promise.resolve(); | |
| 33 } | |
| 34 } | |
| 35 | |
| 36 initializeWorkerService("Audits2Service", Audits2Service); | |
| OLD | NEW |