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

Issue 1004323003: Add support for sending protobuf messages over IPC. (Closed)

Created:
5 years, 9 months ago by grt (UTC plus 2)
Modified:
5 years, 9 months ago
Reviewers:
Tom Sepez, mattm, jam, sky, scottmg
CC:
chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@zip
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for sending protobuf messages over IPC. BUG=462584 Committed: https://crrev.com/07840d895caf8b511ffd2209d3ce2ffb1ae4efe7 Cr-Commit-Position: refs/heads/master@{#321237}

Patch Set 1 #

Patch Set 2 : IPC only #

Patch Set 3 : comments, formatting, etc #

Total comments: 5

Patch Set 4 : unittest and tsepez feedback #

Patch Set 5 : compile #

Patch Set 6 : GN #

Total comments: 4

Patch Set 7 : remove todo and enable for cros #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+523 lines, -0 lines) Patch
M chrome/chrome_common.gypi View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 4 chunks +25 lines, -0 lines 0 comments Download
M chrome/common/common_message_generator.cc View 1 chunk +5 lines, -0 lines 2 comments Download
M chrome/common/safe_browsing/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/safe_browsing/OWNERS View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/ipc_protobuf_message_macros.h View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/ipc_protobuf_message_null_macros.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/ipc_protobuf_message_test.proto View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/ipc_protobuf_message_test_messages.h View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/ipc_protobuf_message_unittest.cc View 1 2 3 1 chunk +158 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/protobuf_message_log_macros.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/protobuf_message_param_traits.h View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/protobuf_message_read_macros.h View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/protobuf_message_write_macros.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (8 generated)
grt (UTC plus 2)
On 2015/03/13 22:28:10, Tom Sepez wrote: > mailto:tsepez@chromium.org changed reviewers: > + mailto:jam@chromium.org, mailto:tsepez@chromium.org Just ...
5 years, 9 months ago (2015-03-14 11:38:06 UTC) #2
grt (UTC plus 2)
IPC only
5 years, 9 months ago (2015-03-15 23:10:19 UTC) #3
grt (UTC plus 2)
I've moved the use of this new IPC stuff into https://codereview.chromium.org/999003003/ so that the two ...
5 years, 9 months ago (2015-03-15 23:11:45 UTC) #4
Tom Sepez
https://codereview.chromium.org/1004323003/diff/40001/chrome/common/safe_browsing/protobuf_message_read_macros.h File chrome/common/safe_browsing/protobuf_message_read_macros.h (right): https://codereview.chromium.org/1004323003/diff/40001/chrome/common/safe_browsing/protobuf_message_read_macros.h#newcode37 chrome/common/safe_browsing/protobuf_message_read_macros.h:37: p->clear_##name##(); \ I'm not sure you can token splice ...
5 years, 9 months ago (2015-03-16 16:45:44 UTC) #5
grt (UTC plus 2)
Comments addressed, thanks. I've also added a unittest. Please take another look. I'll point out ...
5 years, 9 months ago (2015-03-16 17:48:13 UTC) #6
Tom Sepez
On 2015/03/16 17:48:13, grt wrote: > Comments addressed, thanks. I've also added a unittest. Please ...
5 years, 9 months ago (2015-03-16 18:01:30 UTC) #7
Tom Sepez
LGTM once you fix the compilation noise.
5 years, 9 months ago (2015-03-16 18:05:10 UTC) #8
grt (UTC plus 2)
compile
5 years, 9 months ago (2015-03-16 19:14:24 UTC) #9
grt (UTC plus 2)
I've fixed the compile failures (adding support for the GN build in the process). Please ...
5 years, 9 months ago (2015-03-16 20:24:02 UTC) #11
Tom Sepez
Depends on how big a rush you are in. I'd like jam@ to take a ...
5 years, 9 months ago (2015-03-16 20:41:16 UTC) #12
grt (UTC plus 2)
On 2015/03/16 20:41:16, Tom Sepez wrote: > Depends on how big a rush you are ...
5 years, 9 months ago (2015-03-17 13:08:43 UTC) #13
Tom Sepez
On 2015/03/17 13:08:43, grt wrote: > On 2015/03/16 20:41:16, Tom Sepez wrote: > > Depends ...
5 years, 9 months ago (2015-03-17 20:26:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1004323003/120001
5 years, 9 months ago (2015-03-17 20:27:35 UTC) #16
grt (UTC plus 2)
In search of OWNERS reviews as follows: mattm: chrome/*/safe_browsing/* sky: chrome/common (except safe_browsing) and chrome/test ...
5 years, 9 months ago (2015-03-17 20:47:46 UTC) #19
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/50258)
5 years, 9 months ago (2015-03-17 20:55:50 UTC) #21
mattm
https://codereview.chromium.org/1004323003/diff/120001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/1004323003/diff/120001/chrome/chrome_tests_unit.gypi#newcode2686 chrome/chrome_tests_unit.gypi:2686: # GN version: TODO(grt) still todo? https://codereview.chromium.org/1004323003/diff/120001/chrome/test/BUILD.gn File chrome/test/BUILD.gn ...
5 years, 9 months ago (2015-03-17 22:15:50 UTC) #22
scottmg
deps lgtm
5 years, 9 months ago (2015-03-17 23:04:42 UTC) #23
grt (UTC plus 2)
mattm: PTAL https://codereview.chromium.org/1004323003/diff/120001/chrome/chrome_tests_unit.gypi File chrome/chrome_tests_unit.gypi (right): https://codereview.chromium.org/1004323003/diff/120001/chrome/chrome_tests_unit.gypi#newcode2686 chrome/chrome_tests_unit.gypi:2686: # GN version: TODO(grt) On 2015/03/17 22:15:50, ...
5 years, 9 months ago (2015-03-18 16:48:01 UTC) #24
mattm
lgtm (IPC stuff I'm just rubber stamping)
5 years, 9 months ago (2015-03-18 19:22:27 UTC) #25
grt (UTC plus 2)
sky: ping for OWNERS review for chrome/common (except safe_browsing) and chrome/test
5 years, 9 months ago (2015-03-18 19:24:13 UTC) #26
sky
LGTM with the following change https://codereview.chromium.org/1004323003/diff/140001/chrome/common/common_message_generator.cc File chrome/common/common_message_generator.cc (right): https://codereview.chromium.org/1004323003/diff/140001/chrome/common/common_message_generator.cc#newcode16 chrome/common/common_message_generator.cc:16: #include "chrome/common/safe_browsing/ipc_protobuf_message_null_macros.h" Why do ...
5 years, 9 months ago (2015-03-18 21:01:13 UTC) #27
grt (UTC plus 2)
Thanks for taking a look. https://codereview.chromium.org/1004323003/diff/140001/chrome/common/common_message_generator.cc File chrome/common/common_message_generator.cc (right): https://codereview.chromium.org/1004323003/diff/140001/chrome/common/common_message_generator.cc#newcode16 chrome/common/common_message_generator.cc:16: #include "chrome/common/safe_browsing/ipc_protobuf_message_null_macros.h" On 2015/03/18 ...
5 years, 9 months ago (2015-03-18 21:14:35 UTC) #28
grt (UTC plus 2)
On 2015/03/18 21:14:35, grt wrote: > Thanks for taking a look. > > https://codereview.chromium.org/1004323003/diff/140001/chrome/common/common_message_generator.cc > ...
5 years, 9 months ago (2015-03-18 21:46:10 UTC) #29
sky
Ok, LGTM
5 years, 9 months ago (2015-03-18 23:04:28 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1004323003/140001
5 years, 9 months ago (2015-03-18 23:05:24 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 9 months ago (2015-03-18 23:57:26 UTC) #34
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 23:58:01 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/07840d895caf8b511ffd2209d3ce2ffb1ae4efe7
Cr-Commit-Position: refs/heads/master@{#321237}

Powered by Google App Engine
This is Rietveld 408576698