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

Side by Side Diff: ui/file_manager/externs/background/volume_manager_factory.js

Issue 2883263002: Stop foreground depending on background in gyp v2 (Closed)
Patch Set: Remove private Created 3 years, 7 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 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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698