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

Issue 1288373002: [BlobAsync] Patch 2: Common Constants (Closed)

Created:
5 years, 4 months ago by dmurph
Modified:
5 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@async1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[BlobAsync] Patch 2: Common Constants This CL contains constants for the Blob Async Transport refactor. Note: This CL is currently a no-op, hookup is in the 'Hookup' patch. Patches: 1: https://codereview.chromium.org/1287303002 (Committed!) 2: https://codereview.chromium.org/1288373002 3: https://codereview.chromium.org/1292523002 4: https://codereview.chromium.org/1098853003 Hookup: https://codereview.chromium.org/1234813004 BUG=375297 Committed: https://crrev.com/0140342861a6aa998ffbf44ecfdc360305f560bc Cr-Commit-Position: refs/heads/master@{#357248}

Patch Set 1 #

Total comments: 10

Patch Set 2 : comments #

Patch Set 3 : compile #

Patch Set 4 : added message category #

Patch Set 5 : rebase #

Patch Set 6 : linkage fix #

Total comments: 8

Patch Set 7 : comments #

Patch Set 8 : removed messages #

Total comments: 28

Patch Set 9 : comments and lint #

Patch Set 10 : comments and lint #

Patch Set 11 : num type fixes #

Patch Set 12 : cleanup #

Patch Set 13 : moved definition to cc file #

Total comments: 4

Patch Set 14 : WTF toolchains I hate you #

Patch Set 15 : comments #

Patch Set 16 : finally #

Patch Set 17 : maybe? #

Total comments: 4

Patch Set 18 : safe math #

Total comments: 4

Patch Set 19 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+533 lines, -4 lines) Patch
M content/browser/loader/upload_data_stream_builder.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/common/resource_messages.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M storage/browser/blob/blob_data_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +34 lines, -1 line 0 comments Download
M storage/browser/blob/blob_data_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +90 lines, -1 line 0 comments Download
M storage/browser/blob/blob_data_item.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -1 line 0 comments Download
M storage/browser/blob/blob_data_item.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -1 line 0 comments Download
M storage/browser/blob/blob_reader.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M storage/browser/blob/view_blob_internals_job.cc View 1 chunk +1 line, -0 lines 0 comments Download
M storage/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
A storage/common/blob_storage/blob_item_bytes_request.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +86 lines, -0 lines 0 comments Download
A storage/common/blob_storage/blob_item_bytes_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +81 lines, -0 lines 0 comments Download
A storage/common/blob_storage/blob_item_bytes_response.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +58 lines, -0 lines 0 comments Download
A storage/common/blob_storage/blob_item_bytes_response.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +39 lines, -0 lines 0 comments Download
A storage/common/blob_storage/blob_storage_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +37 lines, -0 lines 0 comments Download
M storage/common/data_element.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +28 lines, -0 lines 0 comments Download
M storage/common/data_element.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +41 lines, -0 lines 0 comments Download
M storage/storage_common.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (10 generated)
dmurph
Hello Michael & Kinuko, This is the second patch of my patch breakup. This includes ...
5 years, 4 months ago (2015-08-13 12:57:05 UTC) #2
michaeln
some prelim comments excavated from your orig mondo cl https://codereview.chromium.org/1288373002/diff/1/content/common/blob_storage/blob_storage_messages.h File content/common/blob_storage/blob_storage_messages.h (right): https://codereview.chromium.org/1288373002/diff/1/content/common/blob_storage/blob_storage_messages.h#newcode22 content/common/blob_storage/blob_storage_messages.h:22: ...
5 years, 4 months ago (2015-08-18 03:04:42 UTC) #3
dmurph
https://codereview.chromium.org/1288373002/diff/1/content/common/blob_storage/blob_storage_messages.h File content/common/blob_storage/blob_storage_messages.h (right): https://codereview.chromium.org/1288373002/diff/1/content/common/blob_storage/blob_storage_messages.h#newcode22 content/common/blob_storage/blob_storage_messages.h:22: #define IPC_MESSAGE_START BlobMsgStart On 2015/08/18 at 03:04:41, michaeln wrote: ...
5 years, 3 months ago (2015-09-15 01:12:12 UTC) #4
dmurph
Michael: I added the message category so this wouldn't look so weird.
5 years, 2 months ago (2015-10-12 20:22:34 UTC) #5
kinuko
https://codereview.chromium.org/1288373002/diff/100001/content/child/blob_storage/blob_consolidation.cc File content/child/blob_storage/blob_consolidation.cc (right): https://codereview.chromium.org/1288373002/diff/100001/content/child/blob_storage/blob_consolidation.cc#newcode5 content/child/blob_storage/blob_consolidation.cc:5: #include <algorithm> (not related to this CL?) https://codereview.chromium.org/1288373002/diff/100001/content/common/blob_storage/blob_storage_messages.h File ...
5 years, 2 months ago (2015-10-16 14:24:13 UTC) #6
dmurph
Kinuko: Did you mean to not add a new IPC header? Or that I should ...
5 years, 2 months ago (2015-10-16 21:37:31 UTC) #7
kinuko (google)
On 2015/10/16 21:37:31, dmurph wrote: > Kinuko: Did you mean to not add a new ...
5 years, 2 months ago (2015-10-18 03:19:52 UTC) #8
dmurph
Done, removed messages. I'll put these in the hookup patch.
5 years, 2 months ago (2015-10-19 22:33:11 UTC) #9
dmurph
+jschuh for content/common/resource_messages.cc Justin, I'll probably add you for the hookup patch as well, as ...
5 years, 2 months ago (2015-10-19 22:35:12 UTC) #12
michaeln
lgtm https://codereview.chromium.org/1288373002/diff/140001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/140001/storage/browser/blob/blob_data_builder.cc#newcode24 storage/browser/blob/blob_data_builder.cc:24: case DataElement::TYPE_BYTES: There's code duplication. Do you intend ...
5 years, 2 months ago (2015-10-20 01:16:14 UTC) #13
kinuko
https://codereview.chromium.org/1288373002/diff/140001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/140001/storage/browser/blob/blob_data_builder.cc#newcode77 storage/browser/blob/blob_data_builder.cc:77: return true; I'm not fully sure why this returns ...
5 years, 2 months ago (2015-10-20 10:06:22 UTC) #14
dmurph
https://codereview.chromium.org/1288373002/diff/140001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/140001/storage/browser/blob/blob_data_builder.cc#newcode24 storage/browser/blob/blob_data_builder.cc:24: case DataElement::TYPE_BYTES: On 2015/10/20 at 01:16:14, michaeln wrote: > ...
5 years, 2 months ago (2015-10-20 18:28:28 UTC) #15
michaeln
https://codereview.chromium.org/1288373002/diff/240001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/240001/storage/browser/blob/blob_data_builder.cc#newcode56 storage/browser/blob/blob_data_builder.cc:56: return; does this mess up index addressability at populate ...
5 years, 2 months ago (2015-10-20 20:50:02 UTC) #16
dmurph
Sorry about all of the patches, Android and Mac seem to hate me. Why can't ...
5 years, 2 months ago (2015-10-20 22:49:35 UTC) #17
kinuko
lgtm.
5 years, 2 months ago (2015-10-22 00:00:07 UTC) #18
dmurph
Justin: Any chance you could take a look? It's a small file change: content/common/resource_messages.cc Thanks ...
5 years, 2 months ago (2015-10-22 00:17:47 UTC) #19
dmurph
-jschuh@chromium.org, +cpu@chromium.org Hi Carlos! We chatted earlier this year about the Blob storage async transportation ...
5 years, 1 month ago (2015-10-26 22:29:48 UTC) #21
cpu_(ooo_6.6-7.5)
resource_messages.cc lgtm
5 years, 1 month ago (2015-10-27 01:13:27 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288373002/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288373002/310001
5 years, 1 month ago (2015-10-27 18:40:04 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/113114)
5 years, 1 month ago (2015-10-27 18:54:40 UTC) #27
dmurph
Whoops, Carlos wasn't an owner, my bad. Chris: can you take a look at resource_messages.cc? ...
5 years, 1 month ago (2015-10-27 18:57:45 UTC) #29
palmer
https://codereview.chromium.org/1288373002/diff/310001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/310001/storage/browser/blob/blob_data_builder.cc#newcode23 storage/browser/blob/blob_data_builder.cc:23: AppendData(ipc_data.bytes(), length); Implicit conversion from uint64 to size_t here ...
5 years, 1 month ago (2015-10-27 20:36:41 UTC) #30
dmurph
https://codereview.chromium.org/1288373002/diff/310001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/310001/storage/browser/blob/blob_data_builder.cc#newcode23 storage/browser/blob/blob_data_builder.cc:23: AppendData(ipc_data.bytes(), length); On 2015/10/27 at 20:36:41, palmer wrote: > ...
5 years, 1 month ago (2015-10-28 00:56:21 UTC) #31
dmurph
5 years, 1 month ago (2015-10-28 01:00:39 UTC) #32
palmer
https://codereview.chromium.org/1288373002/diff/330001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/330001/storage/browser/blob/blob_data_builder.cc#newcode26 storage/browser/blob/blob_data_builder.cc:26: base::saturated_cast<size_t, uint64>(length)); Hmm, is saturation the right semantics here? ...
5 years, 1 month ago (2015-10-30 23:11:43 UTC) #33
dmurph
https://codereview.chromium.org/1288373002/diff/330001/storage/browser/blob/blob_data_builder.cc File storage/browser/blob/blob_data_builder.cc (right): https://codereview.chromium.org/1288373002/diff/330001/storage/browser/blob/blob_data_builder.cc#newcode26 storage/browser/blob/blob_data_builder.cc:26: base::saturated_cast<size_t, uint64>(length)); On 2015/10/30 at 23:11:43, palmer wrote: > ...
5 years, 1 month ago (2015-10-30 23:22:07 UTC) #34
palmer
> well, it's probably not valid if someone wants to copy data w/ length = ...
5 years, 1 month ago (2015-10-30 23:32:38 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288373002/350001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288373002/350001
5 years, 1 month ago (2015-10-30 23:35:39 UTC) #38
commit-bot: I haz the power
Committed patchset #19 (id:350001)
5 years, 1 month ago (2015-10-31 01:04:59 UTC) #39
commit-bot: I haz the power
5 years, 1 month ago (2015-10-31 01:05:47 UTC) #40
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/0140342861a6aa998ffbf44ecfdc360305f560bc
Cr-Commit-Position: refs/heads/master@{#357248}

Powered by Google App Engine
This is Rietveld 408576698