|
|
Chromium Code Reviews|
Created:
4 years, 2 months ago by Sergey Ulanov Modified:
4 years, 2 months ago CC:
chromium-reviews, chromoting-reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionRemove content dependency from remoting/host
//content/public/common dependency was added in remoting/host
for IPC::ParamTraits<net::IPEndPoint>. That dependency pulls
blink, which means that blink had to be built when building
remoting_unittests and so it was taking way too much time to
build. This change removes net::IPEndPoint from IPC messages
used by the host, so it no longer needs to depend on content.
Committed: https://crrev.com/f684dd192b64186de1eb04d819af6db0dca3e503
Cr-Commit-Position: refs/heads/master@{#421665}
Patch Set 1 : . #Patch Set 2 : . #Patch Set 3 : . #
Messages
Total messages: 37 (25 generated)
The CQ bit was checked by sergeyu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by sergeyu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-ge...)
Patchset #2 (id:20001) has been deleted
Patchset #1 (id:1) has been deleted
Description was changed from ========== Remove content dependency from remoting/host ========== to ========== Remove content dependency from remoting/host //content/public/common dependency was added in remoting/host for IPC::ParamTraits<net::IPEndPoint>. That dependency pulls blink, which means that blink had to be built when building remoting_unittests and so it was taking way too much time to build. This change removes net::IPEndPoint from IPC messages used by the host, so it no longer needs to depend on content. ==========
sergeyu@chromium.org changed reviewers: + joedow@chromium.org, rsesek@chromium.org
Joe, please review this change. Robert, please approve the change in chromoting_messages.h
The CQ bit was checked by sergeyu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
I don't think this is quite equivalent to the ParamTraits version, which checks sizes and the validity of the address: https://cs.chromium.org/chromium/src/content/public/common/common_param_trait.... Looking at the net::IPAddress ctor, it blindly assumes the bytes vector is sized correctly and well-formed.
On 2016/09/26 22:12:34, Robert Sesek wrote: > I don't think this is quite equivalent to the ParamTraits version, which checks > sizes and the validity of the address: > https://cs.chromium.org/chromium/src/content/public/common/common_param_trait.... > > Looking at the net::IPAddress ctor, it blindly assumes the bytes vector is sized > correctly and well-formed. net::IPAddress can be created with a vector of any size, but it treats any address that is not 4 or 16 bytes as an invalid address, see https://cs.chromium.org/chromium/src/net/base/ip_address.cc?rcl=1474903310&l=185 . So I don't think any extra checks are really necessary there. But I added them anyway now.
LGTM
The CQ bit was checked by sergeyu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from joedow@chromium.org Link to the patchset: https://codereview.chromium.org/2365213002/#ps60001 (title: ".")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
CQ cannot get SignCLA result. Please try later.
The CQ bit was checked by sergeyu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_...) chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-ge...)
The CQ bit was checked by sergeyu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from rsesek@chromium.org, joedow@chromium.org Link to the patchset: https://codereview.chromium.org/2365213002/#ps80001 (title: ".")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Remove content dependency from remoting/host //content/public/common dependency was added in remoting/host for IPC::ParamTraits<net::IPEndPoint>. That dependency pulls blink, which means that blink had to be built when building remoting_unittests and so it was taking way too much time to build. This change removes net::IPEndPoint from IPC messages used by the host, so it no longer needs to depend on content. ========== to ========== Remove content dependency from remoting/host //content/public/common dependency was added in remoting/host for IPC::ParamTraits<net::IPEndPoint>. That dependency pulls blink, which means that blink had to be built when building remoting_unittests and so it was taking way too much time to build. This change removes net::IPEndPoint from IPC messages used by the host, so it no longer needs to depend on content. ==========
Message was sent while issue was closed.
Committed patchset #3 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== Remove content dependency from remoting/host //content/public/common dependency was added in remoting/host for IPC::ParamTraits<net::IPEndPoint>. That dependency pulls blink, which means that blink had to be built when building remoting_unittests and so it was taking way too much time to build. This change removes net::IPEndPoint from IPC messages used by the host, so it no longer needs to depend on content. ========== to ========== Remove content dependency from remoting/host //content/public/common dependency was added in remoting/host for IPC::ParamTraits<net::IPEndPoint>. That dependency pulls blink, which means that blink had to be built when building remoting_unittests and so it was taking way too much time to build. This change removes net::IPEndPoint from IPC messages used by the host, so it no longer needs to depend on content. Committed: https://crrev.com/f684dd192b64186de1eb04d819af6db0dca3e503 Cr-Commit-Position: refs/heads/master@{#421665} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/f684dd192b64186de1eb04d819af6db0dca3e503 Cr-Commit-Position: refs/heads/master@{#421665} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
