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

Unified Diff: ui/file_manager/file_manager/background/js/background.js

Issue 762593006: Prototype implementation of MediaImportHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to master. Created 6 years 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
Index: ui/file_manager/file_manager/background/js/background.js
diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js
index 53e33d4f4cb37c6c998e90b9e4a1d749bc0c2012..6eda301fa5eceaf5b068db557ff06e9e9c96a3e5 100644
--- a/ui/file_manager/file_manager/background/js/background.js
+++ b/ui/file_manager/file_manager/background/js/background.js
@@ -83,6 +83,13 @@ function FileBrowserBackground() {
function() { this.tryClose(); }.bind(this));
/**
+ * Handles importing of user media (e.g. photos, videos) from removable
+ * devices.
+ * @type {MediaImportHandler}
hirono 2014/12/04 04:44:25 @type {!MediaImporthandler} @const
Ben Kwa 2014/12/04 19:53:01 I fixed the nullable thing - thanks. For the const
hirono 2014/12/05 05:57:36 Thank you for fixing them!
+ */
+ this.mediaImportHandler = new MediaImportHandler(this.fileOperationManager);
+
+ /**
* Promise of string data.
* @type {Promise}
*/

Powered by Google App Engine
This is Rietveld 408576698