Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Issue 2567013002: [MediaNotification] Removing upper limit of MediaImage sizes (Closed)

Created:
4 years ago by Zhiqiang Zhang (Slow)
Modified:
4 years ago
Reviewers:
whywhat
CC:
agrieve+watch_chromium.org, chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MediaNotification] Removing upper limit of MediaImage sizes Currently MediaImageManager uses 8x of the ideal size as the upper limit for downloading image, however images of sizes between 4x~8x will be rated as 0 and will not be used after they are downloaded. This CL removes the upper size limit for MediaImage. The upper limit was used to prevent download huge media images, however ImageDownloader does not do it for us. As long as other modules (like manifest) don't enforce upper limit on image sizes for download, it's OK to keep the pattern consistent in media notification. BUG=673360 Committed: https://crrev.com/db38286b8461683814d0fe2e6920feb864262968 Cr-Commit-Position: refs/heads/master@{#438315}

Patch Set 1 #

Patch Set 2 : made upper limit for downloading and evaluation consistent #

Patch Set 3 : removed upper size limit #

Total comments: 6

Patch Set 4 : addressed nits from avayvod@ #

Patch Set 5 : addressed findbug error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaImageManager.java View 1 2 3 4 4 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Zhiqiang Zhang (Slow)
4 years ago (2016-12-12 16:31:07 UTC) #2
Zhiqiang Zhang (Slow)
PTAL wrt. the discussion on crbug :)
4 years ago (2016-12-12 19:56:05 UTC) #5
Zhiqiang Zhang (Slow)
PTAL per latest discussion on crbug This CL removes the upper size limit, and I'll ...
4 years ago (2016-12-13 16:29:03 UTC) #8
whywhat
lgtm with nits we do still resize the image later to display, right? maybe we ...
4 years ago (2016-12-13 18:10:51 UTC) #9
Zhiqiang Zhang (Slow)
> we do still resize the image later to display, right? maybe we should pass ...
4 years ago (2016-12-13 19:46:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2567013002/100001
4 years ago (2016-12-13 21:42:01 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years ago (2016-12-13 22:35:26 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-13 22:37:11 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/db38286b8461683814d0fe2e6920feb864262968
Cr-Commit-Position: refs/heads/master@{#438315}

Powered by Google App Engine
This is Rietveld 408576698