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: ui/file_manager/file_manager/foreground/js/ui/file_table.js

Issue 901233003: Enable Cloud Import feature by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update device handler test to use new flag. Created 5 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
« no previous file with comments | « ui/file_manager/file_manager/common/js/importer_common.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/ui/file_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
index 642b9f4c842013bf497ffa25cf4e1aa6a3d9f16a..e4b0e7efe85f225709282f9e8f9b9e886c3296ce 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
@@ -584,7 +584,7 @@ FileTable.prototype.renderStatus_ = function(entry, columnId, table) {
* or 'unknown'.
*/
FileTable.prototype.getImportStatus_ = function(entry, destination) {
- if (!entry.isFile) {
+ if (!importer.isEligibleEntry(this.volumeManager_, entry)) {
// Our import history doesn't deal with directories.
// TODO(kenobi): May need to revisit this if the above assumption changes.
return Promise.resolve('unknown');
« no previous file with comments | « ui/file_manager/file_manager/common/js/importer_common.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698