Chromium Code Reviews| Index: content/child/blink_platform_impl.cc |
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
| index eafa1befb4c325777492f65f5c10bd830b6c78d4..b80790dacf99978b019d5a9e32762ce3978ef321 100644 |
| --- a/content/child/blink_platform_impl.cc |
| +++ b/content/child/blink_platform_impl.cc |
| @@ -504,6 +504,15 @@ bool BlinkPlatformImpl::isReservedIPAddress( |
| return net::IsIPAddressReserved(address); |
| } |
| +bool BlinkPlatformImpl::portAllowed(unsigned short port, |
| + bool is_ftp) const { |
| + if (is_ftp) |
|
eroman
2015/04/10 01:32:17
{curly braces around this }
Paritosh Kumar
2015/04/10 12:34:32
Thanks.
BTW, removing this if condition.
|
| + return net::IsPortAllowedByFtp(port) |
| + || net::IsPortAllowedByOverride(port); |
| + return net::IsPortAllowedByDefault(port) |
| + || net::IsPortAllowedByOverride(port); |
| +} |
| + |
| blink::WebThread* BlinkPlatformImpl::createThread(const char* name) { |
| WebThreadImpl* thread = new WebThreadImpl(name); |
| thread->TaskRunner()->PostTask( |