Reland "Refactor download image-MIME-type-detection code."
Refactor duplicated image-MIME-type-detection code from DownloadCommands and DownloadItemNotification into a new DownloadItemModel::HasSupportedImageMimeType() method. (Relanding since original commit 759969db accidentally pulled in another change.) BUG=605805 TBR=rdsmith@chromium.org,svaldez@chromium.org Review-Url: https://codereview.chromium.org/2224053002 Cr-Commit-Position: refs/heads/master@{#410428}
Showing
Please register or sign in to comment