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

Issue 1853643007: Migrate remoting to net::IPAddress. (Closed)

Created:
4 years, 8 months ago by martijnc
Modified:
4 years, 8 months ago
Reviewers:
dcheng, Ryan Sleevi, Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org, eroman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate remoting to net::IPAddress. BUG=496258 Committed: https://crrev.com/a46bd47ae7976da94fc6e7f726841719fdfbce57 Cr-Commit-Position: refs/heads/master@{#385505}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Added ParamTraits #

Total comments: 7

Patch Set 3 : comments wez #

Patch Set 4 : comments wez #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -41 lines) Patch
M remoting/host/chromoting_messages.h View 1 2 chunks +7 lines, -6 lines 0 comments Download
M remoting/host/chromoting_param_traits.h View 1 2 chunks +22 lines, -0 lines 0 comments Download
M remoting/host/chromoting_param_traits.cc View 1 2 3 2 chunks +51 lines, -0 lines 0 comments Download
M remoting/host/daemon_process.cc View 1 1 chunk +3 lines, -29 lines 0 comments Download
M remoting/host/ipc_host_event_logger.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/protocol/ssl_hmac_channel_authenticator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/transport.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (7 generated)
Wez
Looks like you'll need an IPC reviewer for this, since you're changing chromoting_messages.h?
4 years, 8 months ago (2016-04-04 18:22:28 UTC) #3
martijnc
On 2016/04/04 at 18:22:28, wez wrote: > Looks like you'll need an IPC reviewer for ...
4 years, 8 months ago (2016-04-04 18:31:32 UTC) #5
Wez
remoting/ LGTM
4 years, 8 months ago (2016-04-04 18:34:38 UTC) #6
dcheng
+rsleevi, any thoughts on where we could stick a ParamTraits for net::IPAddress? would it make ...
4 years, 8 months ago (2016-04-04 18:40:36 UTC) #8
Ryan Sleevi
On 2016/04/04 18:40:36, dcheng wrote: > This is kind of unfortunate: content already has a ...
4 years, 8 months ago (2016-04-04 19:04:29 UTC) #9
dcheng
On 2016/04/04 at 19:04:29, rsleevi wrote: > On 2016/04/04 18:40:36, dcheng wrote: > > This ...
4 years, 8 months ago (2016-04-04 19:13:53 UTC) #10
martijnc
On 2016/04/04 at 19:13:53, dcheng wrote: > On 2016/04/04 at 19:04:29, rsleevi wrote: > > ...
4 years, 8 months ago (2016-04-04 19:38:04 UTC) #11
Ryan Sleevi
On 2016/04/04 19:13:53, dcheng wrote: > This particular instance is straightforward, but I'm not particularly ...
4 years, 8 months ago (2016-04-04 20:36:31 UTC) #12
Ryan Sleevi
On 2016/04/04 20:36:31, Ryan Sleevi wrote: > //cronet tries to use //net as is. Err, ...
4 years, 8 months ago (2016-04-04 20:39:43 UTC) #13
dcheng
On 2016/04/04 at 20:39:43, rsleevi wrote: > On 2016/04/04 20:36:31, Ryan Sleevi wrote: > > ...
4 years, 8 months ago (2016-04-04 20:49:55 UTC) #14
martijnc
I added the (duplicated) ParamTraits to remoting/host/chromoting_param_traits.cc. The other ParamTraits for //remoting are defined there ...
4 years, 8 months ago (2016-04-05 17:02:36 UTC) #16
Wez
https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc#newcode205 remoting/host/chromoting_param_traits.cc:205: bytes.size() != net::IPAddress::kIPv6AddressSize) { This would be more readable ...
4 years, 8 months ago (2016-04-05 17:08:01 UTC) #17
martijnc
https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc#newcode205 remoting/host/chromoting_param_traits.cc:205: bytes.size() != net::IPAddress::kIPv6AddressSize) { On 2016/04/05 at 17:08:01, Wez ...
4 years, 8 months ago (2016-04-05 20:08:48 UTC) #18
Wez
https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc#newcode231 remoting/host/chromoting_param_traits.cc:231: if (!address.empty() && !address.IsValid()) On 2016/04/05 20:08:48, martijnc wrote: ...
4 years, 8 months ago (2016-04-05 20:12:27 UTC) #19
martijnc
https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/1853643007/diff/60001/remoting/host/chromoting_param_traits.cc#newcode231 remoting/host/chromoting_param_traits.cc:231: if (!address.empty() && !address.IsValid()) On 2016/04/05 at 20:12:27, Wez ...
4 years, 8 months ago (2016-04-05 21:16:29 UTC) #20
Wez
remoting/ LGTM
4 years, 8 months ago (2016-04-05 21:23:57 UTC) #21
dcheng
lgtm, thanks
4 years, 8 months ago (2016-04-06 00:43:13 UTC) #22
martijnc
Thank you.
4 years, 8 months ago (2016-04-06 17:20:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853643007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853643007/100001
4 years, 8 months ago (2016-04-06 17:20:56 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 8 months ago (2016-04-06 18:06:01 UTC) #26
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a46bd47ae7976da94fc6e7f726841719fdfbce57 Cr-Commit-Position: refs/heads/master@{#385505}
4 years, 8 months ago (2016-04-06 18:07:30 UTC) #28
Ryan Sleevi
I kicked off a thread with brett, jam, dcheng, and tsepez and... turns out I ...
4 years, 8 months ago (2016-04-07 05:49:16 UTC) #29
martijnc
4 years, 8 months ago (2016-04-07 13:03:02 UTC) #30
Message was sent while issue was closed.
On 2016/04/07 at 05:49:16, rsleevi wrote:
> I kicked off a thread with brett, jam, dcheng, and tsepez and... turns out I
was wrong in what I recommended.
> 
>
https://groups.google.com/a/chromium.org/d/msg/chromium-mojo/Wxdo5C6aVDw/RpLj...
has the thread, but TL;DR: Having a //net/ipc (and/or //net/mojo) is fine.

This Cl also broke the IPC fuzzer (https://crbug.com/601230) because of the
duplicated ParamTraits (the fuzzer tries to link them both into the same
binary). Moving the ParamTraits to //net/ipc and sharing them would resolve that
as well.

Powered by Google App Engine
This is Rietveld 408576698