Descriptionfile_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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221336
Patch Set 1 : #
Total comments: 9
Patch Set 2 : rebase #Patch Set 3 : partially address comments #Patch Set 4 : rebase #Patch Set 5 : rebase #
Messages
Total messages: 6 (0 generated)
|