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

Issue 430193002: Wire 'blink::Platform::isHostnameReservedIPAddress()' to 'net::IsReservedIPAddress()'. (Closed)

Created:
6 years, 4 months ago by Mike West
Modified:
6 years, 4 months ago
Reviewers:
jam, Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Wire 'blink::Platform::isHostnameReservedIPAddress()' to 'net::IsReservedIPAddress()'. This is a fairly straightforward patch which wires up the Blink platform API over to the network stack. BUG=378566 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288327

Patch Set 1 #

Total comments: 8

Patch Set 2 : Slimming. #

Patch Set 3 : Layering. #

Total comments: 6

Patch Set 4 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -0 lines) Patch
M content/child/blink_platform_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download
M content/child/blink_platform_unittest.cc View 1 2 2 chunks +129 lines, -0 lines 0 comments Download
M net/base/net_util.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Mike West
And this is the Chromium side. WDYT? -mike
6 years, 4 months ago (2014-08-02 15:22:15 UTC) #1
Ryan Sleevi
Mostly concerned with performance here https://codereview.chromium.org/430193002/diff/1/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/430193002/diff/1/content/child/blink_platform_impl.cc#newcode450 content/child/blink_platform_impl.cc:450: std::string canonical_name = net::CanonicalizeHost(host, ...
6 years, 4 months ago (2014-08-05 00:01:38 UTC) #2
Mike West
Since we know that we're calling this method with input from WebSecurityOrigin and WebURL, we ...
6 years, 4 months ago (2014-08-05 07:20:29 UTC) #3
Ryan Sleevi
Code-wise, I think the latest patch set has more of a smell, because it bleeds ...
6 years, 4 months ago (2014-08-05 08:51:17 UTC) #4
Mike West
On 2014/08/05 08:51:17, Ryan Sleevi wrote: > Code-wise, I think the latest patch set has ...
6 years, 4 months ago (2014-08-05 09:06:38 UTC) #5
Ryan Sleevi
On 2014/08/05 09:06:38, Mike West wrote: > On 2014/08/05 08:51:17, Ryan Sleevi wrote: > > ...
6 years, 4 months ago (2014-08-05 09:10:50 UTC) #6
Mike West
Now with more layering! WDYT?
6 years, 4 months ago (2014-08-06 08:14:02 UTC) #7
Ryan Sleevi
Comment updates, but morally/spiritually/conceptually/technically LGTM https://codereview.chromium.org/430193002/diff/40001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/430193002/diff/40001/content/child/blink_platform_impl.cc#newcode53 content/child/blink_platform_impl.cc:53: #include "url/url_canon_ip.h" Not needed? ...
6 years, 4 months ago (2014-08-06 19:42:12 UTC) #8
Mike West
Blink-side platform stubs landed in https://codereview.chromium.org/446363002/. Hopefully they'll roll into Chromium overnight and I can ...
6 years, 4 months ago (2014-08-07 17:58:49 UTC) #9
Mike West
jam@: Would you mind taking a look at the content/child change? Thanks! -mike
6 years, 4 months ago (2014-08-07 18:05:40 UTC) #10
jam
lgtm
6 years, 4 months ago (2014-08-07 18:26:23 UTC) #11
Mike West
Thanks to you both. If Blink ever rolls, I'll land this today. :) https://codereview.chromium.org/430193002/diff/40001/content/child/blink_platform_impl.cc File ...
6 years, 4 months ago (2014-08-08 08:15:04 UTC) #12
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 4 months ago (2014-08-08 08:31:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/430193002/60001
6 years, 4 months ago (2014-08-08 08:36:19 UTC) #14
commit-bot: I haz the power
Change committed as 288327
6 years, 4 months ago (2014-08-08 11:04:49 UTC) #15
Mike West
6 years, 4 months ago (2014-08-12 04:36:51 UTC) #16
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/459363002/ by mkwst@chromium.org.

The reason for reverting is: Suspected of breaking Chrome builds:
https://crbug.com/402037.

Powered by Google App Engine
This is Rietveld 408576698