With the mad dash to get every case we didn't account for in, we have a bunch of code that could be cleaned up. Off the top of my head:
* DownloadHistoryAdapter has to track three different backends (regular downloads, incognito downloads, and offline pages) and has a bunch of duplicated code to do it.
* Download Home uses the DownloadManagerService class to handle all of its JNI; it's probably worth revisiting this decision because there's a lot of things that aren't related to the DownloadManagerService here.
* Code that fires Intents to open downloads and share items is currently splayed across at least three different places (DownloadManagerDelegate, DownloadHistoryItemAdapter, ShareHelper), each of which is slightly different. We should see what can be pulled out here and why they're different.
Comment 1 by dfalcant...@chromium.org
, Nov 14 2016Labels: -Pri-3 M-57 Pri-2