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

Issue 259773006: Allow BlobDataHandles to be copied, and have their UUIDs read, on any thread. (Closed)

Created:
6 years, 7 months ago by ericu
Modified:
6 years, 7 months ago
Reviewers:
michaeln, piman
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Allow BlobDataHandles to be copied, and have their UUIDs read, on any thread. BUG=108012 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266817 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267423

Patch Set 1 #

Patch Set 2 : Formatted #

Patch Set 3 : Fix content_unittests #

Patch Set 4 : Experimental Windows build fix #

Total comments: 6

Patch Set 5 : Rolled in Michael's feedback. #

Patch Set 6 : Add cleanup to make ASAN happy. #

Patch Set 7 : Change MessageLoop->RunLoop #

Patch Set 8 : Put back the message loops; just use RunLoops for running. #

Patch Set 9 : Make comments more uniform #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -36 lines) Patch
M content/browser/fileapi/blob_storage_context_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +27 lines, -0 lines 0 comments Download
M content/browser/loader/upload_data_stream_builder_unittest.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 2 comments Download
M webkit/browser/blob/blob_data_handle.h View 1 2 3 4 1 chunk +27 lines, -8 lines 0 comments Download
M webkit/browser/blob/blob_data_handle.cc View 1 2 3 4 1 chunk +39 lines, -27 lines 0 comments Download
M webkit/browser/blob/blob_storage_context.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 42 (0 generated)
ericu
6 years, 7 months ago (2014-04-28 18:08:17 UTC) #1
michaeln
lgtm (modulo small things to look at) https://codereview.chromium.org/259773006/diff/60001/webkit/browser/blob/blob_data_handle.cc File webkit/browser/blob/blob_data_handle.cc (left): https://codereview.chromium.org/259773006/diff/60001/webkit/browser/blob/blob_data_handle.cc#oldcode48 webkit/browser/blob/blob_data_handle.cc:48: void BlobDataHandle::DeleteHelper( ...
6 years, 7 months ago (2014-04-28 18:25:22 UTC) #2
ericu
https://codereview.chromium.org/259773006/diff/60001/webkit/browser/blob/blob_data_handle.cc File webkit/browser/blob/blob_data_handle.cc (right): https://codereview.chromium.org/259773006/diff/60001/webkit/browser/blob/blob_data_handle.cc#newcode62 webkit/browser/blob/blob_data_handle.cc:62: BlobData* BlobDataHandle::data() const { On 2014/04/28 18:25:22, michaeln wrote: ...
6 years, 7 months ago (2014-04-28 18:43:01 UTC) #3
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-28 19:45:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/80001
6 years, 7 months ago (2014-04-28 19:45:31 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 21:02:37 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on ios_dbg_simulator
6 years, 7 months ago (2014-04-28 21:02:37 UTC) #7
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-28 21:22:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/80001
6 years, 7 months ago (2014-04-28 21:22:29 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 21:58:16 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-28 21:58:16 UTC) #11
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-28 22:27:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/80001
6 years, 7 months ago (2014-04-28 22:29:04 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 23:12:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-28 23:12:19 UTC) #15
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-28 23:13:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/80001
6 years, 7 months ago (2014-04-28 23:14:54 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 00:02:42 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-29 00:02:42 UTC) #19
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-29 00:07:35 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/80001
6 years, 7 months ago (2014-04-29 00:08:14 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 02:10:50 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-29 02:10:51 UTC) #23
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-29 03:26:12 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/80001
6 years, 7 months ago (2014-04-29 03:26:52 UTC) #25
commit-bot: I haz the power
Change committed as 266817
6 years, 7 months ago (2014-04-29 09:57:12 UTC) #26
Michael Achenbach
A revert of this CL has been created in https://codereview.chromium.org/252163002/ by machenbach@chromium.org. The reason for ...
6 years, 7 months ago (2014-04-29 10:57:21 UTC) #27
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-30 17:13:15 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/100001
6 years, 7 months ago (2014-04-30 17:17:16 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 17:29:51 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 17:29:51 UTC) #31
ericu
Arg--need an additional OWNER review for the test fix. Antoine, can you take a quick ...
6 years, 7 months ago (2014-04-30 17:39:08 UTC) #32
piman
MessageLoop::RunUntilIdle is deprecated, suggesting using a RunLoop instead. Mind replacing the pattern?
6 years, 7 months ago (2014-04-30 22:31:41 UTC) #33
ericu
On 2014/04/30 22:31:41, piman wrote: > MessageLoop::RunUntilIdle is deprecated, suggesting using a RunLoop instead. > ...
6 years, 7 months ago (2014-04-30 22:51:49 UTC) #34
piman
LGTM, thanks!
6 years, 7 months ago (2014-04-30 23:23:27 UTC) #35
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-30 23:31:15 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/259773006/160001
6 years, 7 months ago (2014-04-30 23:32:00 UTC) #37
commit-bot: I haz the power
Change committed as 267423
6 years, 7 months ago (2014-05-01 04:22:23 UTC) #38
falken
On 2014/05/01 04:22:23, I haz the power (commit-bot) wrote: > Change committed as 267423 It ...
6 years, 7 months ago (2014-05-01 07:43:56 UTC) #39
falken
A revert of this CL has been created in https://codereview.chromium.org/261683005/ by falken@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-01 07:56:59 UTC) #40
michaeln
https://codereview.chromium.org/259773006/diff/160001/content/browser/loader/upload_data_stream_builder_unittest.cc File content/browser/loader/upload_data_stream_builder_unittest.cc (right): https://codereview.chromium.org/259773006/diff/160001/content/browser/loader/upload_data_stream_builder_unittest.cc#newcode264 content/browser/loader/upload_data_stream_builder_unittest.cc:264: handle2.reset(); bah... also need to reset request_body and maybe ...
6 years, 7 months ago (2014-05-01 18:50:47 UTC) #41
michaeln
6 years, 7 months ago (2014-05-03 00:38:50 UTC) #42
Putting thru the cq again as https://codereview.chromium.org/261993004/ with the
fix described earlier.

Powered by Google App Engine
This is Rietveld 408576698