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

Unified Diff: chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js

Issue 179553008: Simplify volume manager in Files app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unmounting. Created 6 years, 10 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: chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js
diff --git a/chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js b/chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js
index 260505f0ab894274898e86819e6165ef08760645..b468c05b1d522f4490e73ea9d0bf96bf72347953 100644
--- a/chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js
+++ b/chrome/test/data/file_manager/unit_tests/mocks/mock_volume_manager.js
@@ -36,12 +36,12 @@ MockVolumeManager.prototype.getVolumeInfo = function(entry) {
* @return {VolumeInfo} Created mock VolumeInfo.
*/
MockVolumeManager.createMockVolumeInfo = function(type, volumeId) {
- var rootEntry = new MockFileEntry(volumeId, '/');
+ var fileSystem = new MockFileSystem(volumeId);
var volumeInfo = new VolumeInfo(
type,
volumeId,
- rootEntry,
+ fileSystem,
'', // error
'', // deviceType
false, // isReadonly

Powered by Google App Engine
This is Rietveld 408576698