Index: chrome/browser/resources/file_manager/js/mock_chrome.js |
diff --git a/chrome/browser/resources/file_manager/js/mock_chrome.js b/chrome/browser/resources/file_manager/js/mock_chrome.js |
index b6c0362d2615c6e16786ff6729e3e94023404ed8..23b0c354267001a0e04f57bd63c3c2cd3435c329 100644 |
--- a/chrome/browser/resources/file_manager/js/mock_chrome.js |
+++ b/chrome/browser/resources/file_manager/js/mock_chrome.js |
@@ -237,14 +237,16 @@ chrome.fileBrowserPrivate = { |
mountPath: path, |
type: type |
}); |
- chrome.fileBrowserPrivate.onMountCompleted.notify({ |
- eventType: 'mount', |
- status: 'success', |
- mountType: type, |
- authToken: 'dummy', |
- mountPath: path, |
- sourceUrl: source |
- }); |
+ setTimeout(function() { |
+ chrome.fileBrowserPrivate.onMountCompleted.notify({ |
+ eventType: 'mount', |
+ status: 'success', |
+ mountType: type, |
+ authToken: 'dummy', |
+ mountPath: path, |
+ sourceUrl: source |
+ }); |
+ }, 1000); |
console.log('Created a mock mount at ' + path); |
}, |
util.flog('Error creating a mock mount at ' + path)); |