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

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: Added a TODO to SecurityOrigin::isLocalhost 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);
+
} // NetworkUtils
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698