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

Unified Diff: ui/file_manager/externs/background_window_common.js

Issue 2292873003: Divide volume_manager.js into files for each classes and extract interfaces from them. (Closed)
Patch Set: Address comments. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/audio_player/js/compiled_resources.gyp ('k') | ui/file_manager/externs/entry_location.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/externs/background_window_common.js
diff --git a/ui/file_manager/externs/background_window_common.js b/ui/file_manager/externs/background_window_common.js
new file mode 100644
index 0000000000000000000000000000000000000000..201f00d757a21c55aada387899082559020edf1f
--- /dev/null
+++ b/ui/file_manager/externs/background_window_common.js
@@ -0,0 +1,18 @@
+// Copyright 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.
+
+var volumeManagerFactory = {};
+
+/**
+ * @param {function(VolumeManager)=} opt_callback
+ * @return {Promise}
+ */
+volumeManagerFactory.getInstance = function(opt_callback) {};
+
+/**
+ * @return {VolumeManager}
+ */
+volumeManagerFactory.getInstanceForDebug = function() {};
+
+volumeManagerFactory.revokeInstanceForTesting = function() {};
« no previous file with comments | « ui/file_manager/audio_player/js/compiled_resources.gyp ('k') | ui/file_manager/externs/entry_location.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698