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

Issue 2734773002: ImageWriter: Add ShouldResetImageWriter helper (Closed)

Created:
3 years, 9 months ago by Noel Gordon
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ImageWriter: Add ShouldResetImageWriter helper Move the code for resetting the image_writer_ into a common helper. Add comments, refer back to the original crbug.com issue and change set that resolved issue 352442. Covered by existing tests: image_writer_utility_client_browsertest, image_writer_unittest BUG=680928, 352442 Review-Url: https://codereview.chromium.org/2734773002 Cr-Commit-Position: refs/heads/master@{#458024} Committed: https://chromium.googlesource.com/chromium/src/+/4342d3eacba11f513071dd4bb06b182b4f1245f3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -8 lines) Patch
M chrome/utility/image_writer/image_writer_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/utility/image_writer/image_writer_handler.cc View 1 3 chunks +17 lines, -8 lines 0 comments Download

Messages

Total messages: 32 (18 generated)
Noel Gordon
This came up on https://codereview.chromium.org/2663603002 where it was suggested to add a helper. haven@ could ...
3 years, 9 months ago (2017-03-06 06:22:40 UTC) #4
dcheng
https://codereview.chromium.org/2734773002/diff/1/chrome/utility/image_writer/image_writer_handler.cc File chrome/utility/image_writer/image_writer_handler.cc (right): https://codereview.chromium.org/2734773002/diff/1/chrome/utility/image_writer/image_writer_handler.cc#newcode123 chrome/utility/image_writer/image_writer_handler.cc:123: if (!image_writer_) Please link to the original bug and ...
3 years, 9 months ago (2017-03-06 21:47:46 UTC) #7
Noel Gordon
3 years, 9 months ago (2017-03-17 02:51:02 UTC) #10
Noel Gordon
PTAL https://codereview.chromium.org/2734773002/diff/1/chrome/utility/image_writer/image_writer_handler.cc File chrome/utility/image_writer/image_writer_handler.cc (right): https://codereview.chromium.org/2734773002/diff/1/chrome/utility/image_writer/image_writer_handler.cc#newcode123 chrome/utility/image_writer/image_writer_handler.cc:123: if (!image_writer_) On 2017/03/06 21:47:46, dcheng wrote: > ...
3 years, 9 months ago (2017-03-17 02:51:29 UTC) #11
tibell
lgtm
3 years, 9 months ago (2017-03-17 02:52:42 UTC) #12
Sam McNally
lgtm
3 years, 9 months ago (2017-03-17 02:53:24 UTC) #13
dcheng
LGTM, thanks for the cleanup
3 years, 9 months ago (2017-03-17 05:38:20 UTC) #14
Noel Gordon
+jochen for OWNERS
3 years, 9 months ago (2017-03-17 05:43:28 UTC) #16
jochen (gone - plz use gerrit)
which test covers this code?
3 years, 9 months ago (2017-03-17 14:12:03 UTC) #17
Noel Gordon
On 2017/03/17 14:12:03, jochen wrote: > which test covers this code? I added a note ...
3 years, 9 months ago (2017-03-18 00:22:34 UTC) #18
Noel Gordon
On 2017/03/18 00:22:34, noel gordon wrote: > On 2017/03/17 14:12:03, jochen wrote: > > which ...
3 years, 9 months ago (2017-03-19 01:14:49 UTC) #25
jochen (gone - plz use gerrit)
lgtm
3 years, 9 months ago (2017-03-20 07:13:13 UTC) #27
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/2734773002/20001
3 years, 9 months ago (2017-03-20 07:25:07 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 08:09:21 UTC) #32
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4342d3eacba11f513071dd4bb06b...

Powered by Google App Engine
This is Rietveld 408576698