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

Unified Diff: chrome/browser/resources/file_manager/js/mock_chrome.js

Issue 10258011: [File Manager] Better Google Drive promo layout in Open/Save dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698