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

Issue 1417963011: Added serialization to protobufs for property trees. (Closed)

Created:
5 years, 1 month ago by Khushal
Modified:
5 years ago
CC:
chromium-reviews, cc-bugs_chromium.org, Wez
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add serialization to protobufs for property trees. Add serialization tests. Update existing tests to validate serialization. BUG=554319 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/54f287ace5c9092a2ed3a8884d13d0087a83eaf0 Cr-Commit-Position: refs/heads/master@{#361574}

Patch Set 1 #

Patch Set 2 : gn fix #

Total comments: 7

Patch Set 3 : Address comments. #

Total comments: 53

Patch Set 4 : Add remaining tests. #

Patch Set 5 : template fix. #

Patch Set 6 : fix for reals. #

Total comments: 4

Patch Set 7 : Address comments. #

Total comments: 8

Patch Set 8 : Address comments. #

Patch Set 9 : Rebase. #

Patch Set 10 : Update PropertyTree::operator== signature #

Total comments: 7

Patch Set 11 : Rebase and address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1694 lines, -561 lines) Patch
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M cc/proto/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M cc/proto/gfx_conversions_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +62 lines, -12 lines 0 comments Download
A cc/proto/property_tree.proto View 1 2 3 1 chunk +148 lines, -0 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 3 4 5 6 7 8 9 12 chunks +76 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 4 5 6 7 8 9 8 chunks +464 lines, -0 lines 0 comments Download
M cc/trees/property_tree_unittest.cc View 1 2 3 1 chunk +942 lines, -549 lines 0 comments Download

Messages

Total messages: 35 (9 generated)
Khushal
TODO: Add tests.
5 years, 1 month ago (2015-11-11 00:53:14 UTC) #3
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1417963011/diff/20001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://chromiumcodereview.appspot.com/1417963011/diff/20001/cc/proto/property_tree.proto#newcode129 cc/proto/property_tree.proto:129: message PropertyTree { Would it make more sense for ...
5 years, 1 month ago (2015-11-11 16:43:16 UTC) #4
Khushal
https://chromiumcodereview.appspot.com/1417963011/diff/20001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://chromiumcodereview.appspot.com/1417963011/diff/20001/cc/proto/property_tree.proto#newcode129 cc/proto/property_tree.proto:129: message PropertyTree { On 2015/11/11 16:43:16, David Trainor wrote: ...
5 years, 1 month ago (2015-11-11 19:14:13 UTC) #5
Khushal
https://chromiumcodereview.appspot.com/1417963011/diff/20001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://chromiumcodereview.appspot.com/1417963011/diff/20001/cc/proto/property_tree.proto#newcode129 cc/proto/property_tree.proto:129: message PropertyTree { On 2015/11/11 19:14:13, Khushal wrote: > ...
5 years, 1 month ago (2015-11-12 00:33:11 UTC) #6
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/proto/property_tree.proto#newcode16 cc/proto/property_tree.proto:16: message TranformNodeData { Put comments above each of these ...
5 years, 1 month ago (2015-11-12 22:46:11 UTC) #7
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/trees/property_tree_unittest.cc File cc/trees/property_tree_unittest.cc (right): https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/trees/property_tree_unittest.cc#newcode80 cc/trees/property_tree_unittest.cc:80: TEST_F(TEST_FIXTURE_NAME, RunDirect) { RunTest(false); } On 2015/11/12 22:46:11, David ...
5 years, 1 month ago (2015-11-12 22:49:33 UTC) #8
Khushal
https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/proto/property_tree.proto#newcode16 cc/proto/property_tree.proto:16: message TranformNodeData { On 2015/11/12 22:46:10, David Trainor wrote: ...
5 years, 1 month ago (2015-11-13 10:33:13 UTC) #9
David Trainor- moved to gerrit
general structure lgtm. https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://chromiumcodereview.appspot.com/1417963011/diff/40001/cc/trees/property_tree.cc#newcode321 cc/trees/property_tree.cc:321: transform_id == other.transform_id && target_id == ...
5 years, 1 month ago (2015-11-13 16:28:21 UTC) #10
nyquist
lgtm https://codereview.chromium.org/1417963011/diff/100001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://codereview.chromium.org/1417963011/diff/100001/cc/proto/property_tree.proto#newcode17 cc/proto/property_tree.proto:17: // cc/trees/property_tree.h Optional nit: How about //cc/trees/property_tree.h ? ...
5 years, 1 month ago (2015-11-16 19:48:57 UTC) #13
Khushal
https://codereview.chromium.org/1417963011/diff/100001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://codereview.chromium.org/1417963011/diff/100001/cc/proto/property_tree.proto#newcode17 cc/proto/property_tree.proto:17: // cc/trees/property_tree.h On 2015/11/16 19:48:56, nyquist wrote: > Optional ...
5 years, 1 month ago (2015-11-16 21:30:11 UTC) #15
Khushal
vollick@, just a note from our discussion earlier. We want to add presubmit checks to ...
5 years, 1 month ago (2015-11-19 22:35:06 UTC) #16
vmpstr
https://codereview.chromium.org/1417963011/diff/120001/cc/proto/property_tree.proto File cc/proto/property_tree.proto (right): https://codereview.chromium.org/1417963011/diff/120001/cc/proto/property_tree.proto#newcode134 cc/proto/property_tree.proto:134: [packed = true]; What's packed? https://codereview.chromium.org/1417963011/diff/120001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): ...
5 years, 1 month ago (2015-11-19 23:24:51 UTC) #17
Ian Vollick
On 2015/11/19 23:24:51, vmpstr wrote: > https://codereview.chromium.org/1417963011/diff/120001/cc/proto/property_tree.proto > File cc/proto/property_tree.proto (right): > > https://codereview.chromium.org/1417963011/diff/120001/cc/proto/property_tree.proto#newcode134 > ...
5 years, 1 month ago (2015-11-20 01:20:42 UTC) #18
nyquist
On 2015/11/20 01:20:42, vollick wrote: > Chatted a bit with vmpstr about this offline and ...
5 years, 1 month ago (2015-11-20 01:23:45 UTC) #19
Khushal
This sounds good to me. But I'd like it if we could do it in ...
5 years, 1 month ago (2015-11-20 01:42:09 UTC) #20
Ian Vollick
On 2015/11/20 01:23:45, nyquist wrote: > On 2015/11/20 01:20:42, vollick wrote: > > Chatted a ...
5 years, 1 month ago (2015-11-20 02:03:52 UTC) #21
Khushal
On 2015/11/20 02:03:52, vollick wrote: > On 2015/11/20 01:23:45, nyquist wrote: > > On 2015/11/20 ...
5 years, 1 month ago (2015-11-20 17:47:08 UTC) #22
Khushal
+vmpstr, friendly ping. :)
5 years, 1 month ago (2015-11-23 23:18:20 UTC) #23
vmpstr
lgtm with a few nits https://codereview.chromium.org/1417963011/diff/180001/cc/proto/gfx_conversions_unittest.cc File cc/proto/gfx_conversions_unittest.cc (right): https://codereview.chromium.org/1417963011/diff/180001/cc/proto/gfx_conversions_unittest.cc#newcode181 cc/proto/gfx_conversions_unittest.cc:181: const gfx::Vector2dF vector(5.1f, 10.2f); ...
5 years ago (2015-11-24 19:32:33 UTC) #24
Khushal
Thanks Vlad! https://codereview.chromium.org/1417963011/diff/180001/cc/proto/gfx_conversions_unittest.cc File cc/proto/gfx_conversions_unittest.cc (right): https://codereview.chromium.org/1417963011/diff/180001/cc/proto/gfx_conversions_unittest.cc#newcode181 cc/proto/gfx_conversions_unittest.cc:181: const gfx::Vector2dF vector(5.1f, 10.2f); On 2015/11/24 19:32:33, ...
5 years ago (2015-11-24 22:22:41 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417963011/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417963011/200001
5 years ago (2015-11-24 22:25:32 UTC) #28
vmpstr
https://codereview.chromium.org/1417963011/diff/180001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/1417963011/diff/180001/cc/trees/property_tree.cc#newcode1059 cc/trees/property_tree.cc:1059: return PropertyTree::operator==(other); On 2015/11/24 22:22:40, Khushal wrote: > On ...
5 years ago (2015-11-24 22:28:21 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/100920)
5 years ago (2015-11-25 03:26:19 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417963011/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417963011/200001
5 years ago (2015-11-25 03:29:29 UTC) #33
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years ago (2015-11-25 04:48:26 UTC) #34
commit-bot: I haz the power
5 years ago (2015-11-25 04:49:32 UTC) #35
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/54f287ace5c9092a2ed3a8884d13d0087a83eaf0
Cr-Commit-Position: refs/heads/master@{#361574}

Powered by Google App Engine
This is Rietveld 408576698