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

Issue 2175213002: arc: Do not keep track of in-flight decode requests. (Closed)

Created:
4 years, 5 months ago by Shuhei Takahashi
Modified:
4 years, 4 months ago
Reviewers:
hidehiko
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Do not keep track of in-flight decode requests. Since ImageDecoder allows the same ImageRequest to be reused, ArcWallpaperHandler can implement ImageRequest. We just need to call ImageDecoder::Cancel() as needed (e.g. on destruction). BUG=None TEST=Tested setting wallpaper manually with ARC enabled device. Committed: https://crrev.com/f4f0263355892832547b5449aa50e41fa118b7c3 Cr-Commit-Position: refs/heads/master@{#407728}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Simplify. #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -44 lines) Patch
M chrome/browser/chromeos/arc/arc_wallpaper_handler.h View 1 3 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_wallpaper_handler.cc View 1 2 2 chunks +9 lines, -34 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
Shuhei Takahashi
hidehiko: PTAL
4 years, 5 months ago (2016-07-25 06:18:42 UTC) #2
hidehiko
The code LGTM, but I'd like to hear your design opinion. https://codereview.chromium.org/2175213002/diff/1/chrome/browser/chromeos/arc/arc_wallpaper_handler.cc File chrome/browser/chromeos/arc/arc_wallpaper_handler.cc (right): ...
4 years, 5 months ago (2016-07-25 19:17:20 UTC) #7
Shuhei Takahashi
hidehiko: PTAL Thanks for comments. Could you take another look as I made some non-trivial ...
4 years, 4 months ago (2016-07-26 05:41:43 UTC) #9
hidehiko
https://codereview.chromium.org/2175213002/diff/10001/chrome/browser/chromeos/arc/arc_wallpaper_handler.cc File chrome/browser/chromeos/arc/arc_wallpaper_handler.cc (right): https://codereview.chromium.org/2175213002/diff/10001/chrome/browser/chromeos/arc/arc_wallpaper_handler.cc#newcode71 chrome/browser/chromeos/arc/arc_wallpaper_handler.cc:71: // TODO(nya): Improve ImageDecoder to minimize copy. As we ...
4 years, 4 months ago (2016-07-26 06:19:10 UTC) #10
Shuhei Takahashi
https://codereview.chromium.org/2175213002/diff/10001/chrome/browser/chromeos/arc/arc_wallpaper_handler.cc File chrome/browser/chromeos/arc/arc_wallpaper_handler.cc (right): https://codereview.chromium.org/2175213002/diff/10001/chrome/browser/chromeos/arc/arc_wallpaper_handler.cc#newcode71 chrome/browser/chromeos/arc/arc_wallpaper_handler.cc:71: // TODO(nya): Improve ImageDecoder to minimize copy. On 2016/07/26 ...
4 years, 4 months ago (2016-07-26 06:22:07 UTC) #11
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/2175213002/30001
4 years, 4 months ago (2016-07-26 06:24:28 UTC) #14
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/2175213002/30001
4 years, 4 months ago (2016-07-26 06:27:10 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:30001)
4 years, 4 months ago (2016-07-26 07:06:54 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 07:09:28 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f4f0263355892832547b5449aa50e41fa118b7c3
Cr-Commit-Position: refs/heads/master@{#407728}

Powered by Google App Engine
This is Rietveld 408576698