Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 | |
|
fukino
2017/05/17 04:58:56
Do we need this file in addition to background_win
oka
2017/05/17 08:45:42
Good catch. Just renamed background_window_common.
| |
| 5 var volumeManagerFactory = { | |
| 6 /** | |
| 7 * Returns the VolumeManager instance asynchronously. If it has not been | |
| 8 * created or is under initialization, it will waits for the finish of the | |
| 9 * initialization. | |
| 10 * @param {function(VolumeManager)=} opt_callback Called with the | |
| 11 * VolumeManager instance. TODO(hirono): Remove the callback and use | |
| 12 * Promise instead. | |
| 13 * @return {Promise} Promise to be fulfilled with the volume manager. | |
| 14 */ | |
| 15 getInstance: function(opt_callback) {}, | |
| 16 | |
| 17 /** | |
| 18 * Returns instance of VolumeManager for debug purpose. | |
| 19 * This method returns VolumeManager.instance which may not be initialized. | |
| 20 * | |
| 21 * @return {VolumeManager} Volume manager. | |
| 22 */ | |
| 23 getInstanceForDebug: function() {}, | |
| 24 | |
| 25 /** | |
| 26 * Revokes the singleton instance for testing. | |
| 27 */ | |
| 28 revokeInstanceForTesting: function() {} | |
| 29 }; | |
| OLD | NEW |