| Index: ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js b/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
|
| index b7d716497a9543d2795a823a4db526543885fa08..8d98efbcdb5caff9494aa27e51d09e945b2ac26e 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/import_controller_unittest.js
|
| @@ -483,6 +483,9 @@ importer.TestCommandWidget = function() {
|
| /** @public {function()} */
|
| this.executeListener;
|
|
|
| + /** @public {function()} */
|
| + this.destinationListener;
|
| +
|
| /** @private {!importer.Resolver.<!importer.CommandUpdate>} */
|
| this.updateResolver_ = new importer.Resolver();
|
|
|
| @@ -503,6 +506,12 @@ importer.TestCommandWidget.prototype.addImportClickedListener =
|
| };
|
|
|
| /** @override */
|
| +importer.TestCommandWidget.prototype.addDestinationClickedListener =
|
| + function(listener) {
|
| + this.destinationListener = listener;
|
| +};
|
| +
|
| +/** @override */
|
| importer.TestCommandWidget.prototype.update = function(update) {
|
| assertFalse(this.updateResolver_.settled, 'Should not have been settled.');
|
| this.updateResolver_.resolve(update);
|
|
|