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

Issue 2240043004: Tracing V2: Fully-functional plugin. (Closed)

Created:
4 years, 4 months ago by kraynov
Modified:
4 years, 3 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tracing V2: Fully-functional plugin. Added wrapper namespace for unit tests to avoid name collisions with official protobuf. Tiny varint support in ProtoZeroMessage. Added tests to check conformance with the official protobuf. BUG=608721 Committed: https://crrev.com/e4f1cbdbcbac1130f412990beffef70ad96609ef Cr-Commit-Position: refs/heads/master@{#414413}

Patch Set 1 #

Patch Set 2 : tests #

Patch Set 3 : nit #

Patch Set 4 : fix use after free in tests #

Total comments: 6

Patch Set 5 : nit #

Total comments: 4

Patch Set 6 : simplify #

Patch Set 7 : nit #

Total comments: 4

Patch Set 8 : style #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -43 lines) Patch
M components/tracing/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/tracing/core/proto_zero_message.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -1 line 0 comments Download
M components/tracing/test/fake_scattered_buffer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/tracing/test/fake_scattered_buffer.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -12 lines 0 comments Download
M components/tracing/test/proto_zero_generation_unittest.cc View 1 2 3 4 5 6 7 1 chunk +149 lines, -13 lines 0 comments Download
M components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc View 1 2 3 4 5 7 chunks +36 lines, -17 lines 0 comments Download

Messages

Total messages: 51 (42 generated)
kraynov
PTAL
4 years, 4 months ago (2016-08-19 17:29:26 UTC) #10
alph
lgtm https://codereview.chromium.org/2240043004/diff/60001/components/tracing/core/proto_zero_message.h File components/tracing/core/proto_zero_message.h (right): https://codereview.chromium.org/2240043004/diff/60001/components/tracing/core/proto_zero_message.h#newcode100 components/tracing/core/proto_zero_message.h:100: *pos = static_cast<uint8_t>(value); nit: *pos++ = https://codereview.chromium.org/2240043004/diff/60001/components/tracing/core/proto_zero_message_handle.h File ...
4 years, 4 months ago (2016-08-22 22:48:36 UTC) #19
kraynov
fixed https://codereview.chromium.org/2240043004/diff/60001/components/tracing/core/proto_zero_message.h File components/tracing/core/proto_zero_message.h (right): https://codereview.chromium.org/2240043004/diff/60001/components/tracing/core/proto_zero_message.h#newcode100 components/tracing/core/proto_zero_message.h:100: *pos = static_cast<uint8_t>(value); On 2016/08/22 22:48:35, alph wrote: ...
4 years, 4 months ago (2016-08-23 12:43:49 UTC) #22
Primiano Tucci (use gerrit)
Please remove the sealed field logic. The benefit is IMHO minimal but the implementation is ...
4 years, 3 months ago (2016-08-24 08:59:45 UTC) #25
Primiano Tucci (use gerrit)
LGTM with some final comments, please address them before landing. https://codereview.chromium.org/2240043004/diff/120001/components/tracing/test/fake_scattered_buffer.cc File components/tracing/test/fake_scattered_buffer.cc (right): https://codereview.chromium.org/2240043004/diff/120001/components/tracing/test/fake_scattered_buffer.cc#newcode43 ...
4 years, 3 months ago (2016-08-25 10:31:51 UTC) #30
Primiano Tucci (use gerrit)
excellent, thanks a lot, LGTM
4 years, 3 months ago (2016-08-25 10:59:42 UTC) #33
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/2240043004/160001
4 years, 3 months ago (2016-08-25 13:04:28 UTC) #47
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-08-25 13:08:28 UTC) #49
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 13:09:42 UTC) #51
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e4f1cbdbcbac1130f412990beffef70ad96609ef
Cr-Commit-Position: refs/heads/master@{#414413}

Powered by Google App Engine
This is Rietveld 408576698