file_manager: Unify the file task selection logic
Previously, open_util.cc and file_tasks.cc had two separate implementations of file task selection logic. The one in open_util.cc was unclean had an issue with the download shelf (issue 279771). Not to mention, having two separate implementations for doing the same thing is not good for code health. This patch replaces the unclean logic in open_util.cc with the one in file_tasks.cc (FindAllTypesOfTasks()). BUG=279771,278037,284194 TEST=See steps described in issue 279771 R=kinaba@chromium.org Review URL: https://codereview.chromium.org/23857004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221336 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment