Index: ui/file_manager/file_manager/background/js/volume_manager_unittest.js |
diff --git a/ui/file_manager/file_manager/background/js/volume_manager_unittest.js b/ui/file_manager/file_manager/background/js/volume_manager_unittest.js |
index d2d4c4f9bafa40f065c599a2780f06534d0f5331..30cb335aa626e954cd4dfe27ff3d6698b9404a70 100644 |
--- a/ui/file_manager/file_manager/background/js/volume_manager_unittest.js |
+++ b/ui/file_manager/file_manager/background/js/volume_manager_unittest.js |
@@ -91,14 +91,18 @@ function setUp() { |
volumeLabel: '', |
volumeType: VolumeManagerCommon.VolumeType.DOWNLOADS, |
isReadOnly: false, |
- profile: getMockProfile() |
+ profile: getMockProfile(), |
+ configurable: false, |
+ source: VolumeManagerCommon.Source.SYSTEM |
}, |
{ |
volumeId: 'drive:drive-foobar%40chromium.org-hash', |
volumeLabel: '', |
volumeType: VolumeManagerCommon.VolumeType.DRIVE, |
isReadOnly: false, |
- profile: getMockProfile() |
+ profile: getMockProfile(), |
+ configurable: false, |
+ source: VolumeManagerCommon.Source.NETWORK |
} |
]; |
chrome.fileManagerPrivate.fileSystemMap_ = { |
@@ -185,7 +189,9 @@ function testMountArchiveAndUnmount(callback) { |
volumeType: VolumeManagerCommon.VolumeType.ARCHIVE, |
isReadOnly: true, |
sourcePath: mountSourcePath, |
- profile: getMockProfile() |
+ profile: getMockProfile(), |
+ configurable: false, |
+ source: VolumeManagerCommon.Source.FILE |
} |
}); |
}).then(function(result) { |
@@ -255,7 +261,8 @@ function testVolumeInfoListWhenReady(callback) { |
/* label */ null, |
/* extensionid */ null, |
/* hasMedia */ false, |
- /* configurable */ false); |
+ /* configurable */ false, |
+ /* source */ VolumeManagerCommon.Source.FILE); |
list.add(volumeInfo); |
var promiseAfterAdd = list.whenVolumeInfoReady('volumeId'); |
reportPromise(Promise.all([promiseBeforeAdd, promiseAfterAdd]).then( |