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

Issue 109793006: Adds ImageWriterPrivate.destroyPartitions operation. (Closed)

Created:
7 years ago by Drew Haven
Modified:
6 years, 12 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, nickam, stephenlin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adds ImageWriterPrivate.destroyPartitions operation. BUG=328246 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242452

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 32

Patch Set 3 : Review feedback: fixes style, speeds up tests. #

Patch Set 4 : Review feedback: fixes style, speeds up tests. #

Patch Set 5 : Fixes compile guards and uses more scoped_ptr. #

Patch Set 6 : More attempts to fix compile errors. #

Patch Set 7 : Compile fixes. Add IDL reviewer. #

Patch Set 8 : Adds explicit constructor/destructor for ImageWriterTestBase. #

Patch Set 9 : Adds setup of DBus fakes in tests. #

Patch Set 10 : Fixes up DBusThreadManager initialization. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -45 lines) Patch
A chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc View 1 2 3 4 5 6 7 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/image_writer_private_api.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc View 1 2 3 4 5 6 7 1 chunk +16 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_linux.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_manager.cc View 1 2 5 chunks +24 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc View 1 2 4 chunks +22 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/test_utils.h View 1 2 3 4 5 6 7 3 chunks +29 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/test_utils.cc View 1 2 3 4 5 6 7 8 9 1 chunk +103 lines, -10 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/image_writer_private.idl View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Drew Haven
+tbarzic Thanks for being available to review, Toni.
7 years ago (2013-12-14 00:11:56 UTC) #1
tbarzic
https://codereview.chromium.org/109793006/diff/20001/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc File chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc (right): https://codereview.chromium.org/109793006/diff/20001/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc#newcode19 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc:19: // Small wrapper to remove the temporary file and ...
7 years ago (2013-12-14 01:01:04 UTC) #2
Drew Haven
Thanks for the review, Toni. I went over your feedback. The one thing that I ...
7 years ago (2013-12-16 20:15:33 UTC) #3
tbarzic
Oh, looks like scoped_array has been replaced by scoped_ptr<T[]> https://codereview.chromium.org/14081006 On Mon, Dec 16, 2013 ...
7 years ago (2013-12-16 20:20:51 UTC) #4
tbarzic
lgtm https://codereview.chromium.org/109793006/diff/20001/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc File chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc (right): https://codereview.chromium.org/109793006/diff/20001/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc#newcode33 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc:33: verify_write_ = false; On 2013/12/16 20:15:33, Drew Haven ...
7 years ago (2013-12-16 20:33:44 UTC) #5
Drew Haven
I switched over to using more scoped_ptr for such buffers. I'll try to do that ...
7 years ago (2013-12-16 22:05:24 UTC) #6
Drew Haven
+asargent Antony, can you take a quick look to approve the idl file change?
7 years ago (2013-12-17 02:22:13 UTC) #7
asargent_no_longer_on_chrome
idl change lgtm
7 years ago (2013-12-17 02:48:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/109793006/110001
7 years ago (2013-12-17 04:34:08 UTC) #9
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, chromedriver2_unittests, components_unittests, ...
7 years ago (2013-12-17 05:06:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/109793006/130001
7 years ago (2013-12-19 19:46:23 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=186686
7 years ago (2013-12-19 20:52:33 UTC) #12
Drew Haven
On 2013/12/19 20:52:33, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years ago (2013-12-20 08:17:00 UTC) #13
tbarzic
On 2013/12/20 08:17:00, Drew Haven wrote: > On 2013/12/19 20:52:33, I haz the power (commit-bot) ...
7 years ago (2013-12-20 18:14:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/109793006/180001
7 years ago (2013-12-20 23:48:13 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=239416
7 years ago (2013-12-21 02:22:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/109793006/180001
6 years, 12 months ago (2013-12-24 18:22:39 UTC) #17
commit-bot: I haz the power
6 years, 12 months ago (2013-12-24 19:10:23 UTC) #18
Message was sent while issue was closed.
Change committed as 242452

Powered by Google App Engine
This is Rietveld 408576698