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

Unified Diff: ui/file_manager/file_manager/common/js/importer_common_unittest.js

Issue 858563005: Immediately open MTP and other eligible removable devices with media directory on mount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review comments. Created 5 years, 11 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
Index: ui/file_manager/file_manager/common/js/importer_common_unittest.js
diff --git a/ui/file_manager/file_manager/common/js/importer_common_unittest.js b/ui/file_manager/file_manager/common/js/importer_common_unittest.js
index 0de976178f53701bb5ba085c02f7aa92d9f89d6b..d61067d28997de8d947342ec896464a07e11e1bb 100644
--- a/ui/file_manager/file_manager/common/js/importer_common_unittest.js
+++ b/ui/file_manager/file_manager/common/js/importer_common_unittest.js
@@ -43,8 +43,8 @@ function setUp() {
'sd-fs',
'Some SD Card');
volumeManager = new MockVolumeManager();
- volumeManager.volumeInfoList.push(cameraVolume);
- volumeManager.volumeInfoList.push(sdVolume);
+ volumeManager.volumeInfoList.add(cameraVolume);
+ volumeManager.volumeInfoList.add(sdVolume);
driveVolume = volumeManager.getCurrentProfileVolumeInfo(
VolumeManagerCommon.VolumeType.DRIVE);
cameraFileEntry = createFileEntry(cameraVolume, '/DCIM/poodles.jpg');

Powered by Google App Engine
This is Rietveld 408576698