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

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

Issue 23477036: file_manager: getFileTasks() to return Drive apps iff all files are on Drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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/browser/resources/file_manager/js/file_tasks.js
diff --git a/chrome/browser/resources/file_manager/js/file_tasks.js b/chrome/browser/resources/file_manager/js/file_tasks.js
index aa1a4173e0dd48bc52ec2140acdf4cdf3111ae2d..5c7ba8a8ee23420f196bed6a535826d7c4bfc61b 100644
--- a/chrome/browser/resources/file_manager/js/file_tasks.js
+++ b/chrome/browser/resources/file_manager/js/file_tasks.js
@@ -190,10 +190,6 @@ FileTasks.prototype.processTasks_ = function(tasks) {
var task = tasks[i];
var taskParts = task.taskId.split('|');
- // Skip Drive App if the file is not on Drive.
- if (!isOnDrive && task.driveApp)
- continue;
-
// Skip internal Files.app's handlers.
if (taskParts[0] == id && (taskParts[2] == 'auto-open' ||
taskParts[2] == 'select' || taskParts[2] == 'open')) {

Powered by Google App Engine
This is Rietveld 408576698