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

Issue 2703633004: cc: Make image controller return a status with the callback. (Closed)

Created:
3 years, 10 months ago by vmpstr
Modified:
3 years, 9 months ago
Reviewers:
enne (OOO), Khushal
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make image controller return a status with the callback. This patch adds a status to the callback when image decode requests happen. This makes it possible for the caller to react appropriately to failures. R=khushalsagar@chromium.org, enne@chromium.org BUG=693677 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2703633004 Cr-Commit-Position: refs/heads/master@{#453370} Committed: https://chromium.googlesource.com/chromium/src/+/fa6e385073a6d05bdee9d60e3814e7a77a035be6

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : update #

Total comments: 6

Patch Set 4 : update #

Total comments: 2

Patch Set 5 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -33 lines) Patch
M cc/tiles/checker_image_tracker.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/tiles/checker_image_tracker.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M cc/tiles/checker_image_tracker_unittest.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M cc/tiles/decoded_image_tracker.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M cc/tiles/decoded_image_tracker.cc View 2 chunks +12 lines, -6 lines 0 comments Download
M cc/tiles/decoded_image_tracker_unittest.cc View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M cc/tiles/image_controller.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M cc/tiles/image_controller.cc View 1 2 3 7 chunks +29 lines, -5 lines 0 comments Download
M cc/tiles/image_controller_unittest.cc View 1 2 3 10 chunks +68 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
vmpstr
Please take a look.
3 years, 10 months ago (2017-02-17 23:24:41 UTC) #2
Khushal
https://codereview.chromium.org/2703633004/diff/40001/cc/tiles/decoded_image_tracker.h File cc/tiles/decoded_image_tracker.h (right): https://codereview.chromium.org/2703633004/diff/40001/cc/tiles/decoded_image_tracker.h#newcode33 cc/tiles/decoded_image_tracker.h:33: const base::Callback<void(bool)>& callback); Add a comment about what the ...
3 years, 10 months ago (2017-02-17 23:56:38 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/2703633004/diff/40001/cc/tiles/decoded_image_tracker.h File cc/tiles/decoded_image_tracker.h (right): https://codereview.chromium.org/2703633004/diff/40001/cc/tiles/decoded_image_tracker.h#newcode33 cc/tiles/decoded_image_tracker.h:33: const base::Callback<void(bool)>& callback); On 2017/02/17 23:56:38, Khushal wrote: ...
3 years, 10 months ago (2017-02-24 02:43:49 UTC) #4
Khushal
lgtm. https://codereview.chromium.org/2703633004/diff/60001/cc/tiles/checker_image_tracker.cc File cc/tiles/checker_image_tracker.cc (right): https://codereview.chromium.org/2703633004/diff/60001/cc/tiles/checker_image_tracker.cc#newcode81 cc/tiles/checker_image_tracker.cc:81: ImageController::ImageDecodeResult result) { May be DCHECK here that ...
3 years, 10 months ago (2017-02-25 00:21:40 UTC) #5
vmpstr
https://codereview.chromium.org/2703633004/diff/60001/cc/tiles/checker_image_tracker.cc File cc/tiles/checker_image_tracker.cc (right): https://codereview.chromium.org/2703633004/diff/60001/cc/tiles/checker_image_tracker.cc#newcode81 cc/tiles/checker_image_tracker.cc:81: ImageController::ImageDecodeResult result) { On 2017/02/25 00:21:40, Khushal wrote: > ...
3 years, 9 months ago (2017-02-27 21:25:28 UTC) #6
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/2703633004/80001
3 years, 9 months ago (2017-02-27 21:26:08 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 22:52:20 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/fa6e385073a6d05bdee9d60e3814...

Powered by Google App Engine
This is Rietveld 408576698