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

Unified Diff: third_party/WebKit/Source/platform/network/NetworkUtils.h

Issue 2151473002: Small improvements to MixedContentChecker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the IPv6 extra check. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/network/NetworkUtils.h
diff --git a/third_party/WebKit/Source/platform/network/NetworkUtils.h b/third_party/WebKit/Source/platform/network/NetworkUtils.h
index bb4b5f9fa5fccc85936dfa11cbdd2fb689e0d5ee..98e733a6ef63e5645e5ab3e99085fb8a07b95043 100644
--- a/third_party/WebKit/Source/platform/network/NetworkUtils.h
+++ b/third_party/WebKit/Source/platform/network/NetworkUtils.h
@@ -14,6 +14,8 @@ namespace NetworkUtils {
PLATFORM_EXPORT bool isReservedIPAddress(const String& host);
+PLATFORM_EXPORT bool isLocalHostname(const String& host, bool* isLocal6);
Mike West 2016/07/14 05:50:17 Should we use this for `SecurityOrigin::isLocalhos
carlosk 2016/07/18 09:38:36 Possibly but I didn't have a use for that one in t
Mike West 2016/07/18 12:24:17 I'd suggest changing it. In fact, I'd suggest repl
carlosk 2016/07/18 13:14:02 Done, the simpler version.
+
} // NetworkUtils
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698