Description[MediaNotification] Don't check HTTP status code for image fetch
ImageDownloader does not return valid HTTP status code for local
URLs. This CL removes the check for HTTP status code from
MediaImageManager, so that it only checks for the list of
downloaded to see if the image fetch succeeded or not.
This CL also adds tests for verifying ImageDownloader returns
correct results.
BUG=679694
Review-Url: https://codereview.chromium.org/2625703002
Cr-Commit-Position: refs/heads/master@{#442949}
Committed: https://chromium.googlesource.com/chromium/src/+/56eb36cf3d8aea3d182695e7d518daa1a7a46a66
Patch Set 1 #Patch Set 2 : fixed on the client side, added tests #Patch Set 3 : fixed junit test & cl format #
Messages
Total messages: 24 (13 generated)
|