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

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

Issue 10828091: Prevent premature 'scan-completed' events in local search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | 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/directory_contents.js
diff --git a/chrome/browser/resources/file_manager/js/directory_contents.js b/chrome/browser/resources/file_manager/js/directory_contents.js
index e1e091ddc6e04063b6817ad06841e579cf05d405..79f5a60766dcf79335651c70027359eb21f94607 100644
--- a/chrome/browser/resources/file_manager/js/directory_contents.js
+++ b/chrome/browser/resources/file_manager/js/directory_contents.js
@@ -533,8 +533,7 @@ DirectoryContentsLocalSearch.prototype.scanDirectory_ = function(entry) {
};
/**
- * Empty.
+ * We get results for each directory in one go in scanDirectory_.
*/
DirectoryContentsLocalSearch.prototype.readNextChunk = function() {
- this.onCompleted();
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698