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

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

Issue 2196983002: Allow doc.written scripts with a matching domain and registry to execute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment 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 98e733a6ef63e5645e5ab3e99085fb8a07b95043..c9d0422a0ae02d1eb624dcc98ff5f808deed63da 100644
--- a/third_party/WebKit/Source/platform/network/NetworkUtils.h
+++ b/third_party/WebKit/Source/platform/network/NetworkUtils.h
@@ -16,6 +16,8 @@ PLATFORM_EXPORT bool isReservedIPAddress(const String& host);
PLATFORM_EXPORT bool isLocalHostname(const String& host, bool* isLocal6);
+PLATFORM_EXPORT String getDomainAndRegistry(const String& host, bool includePrivateRegistries);
+
} // NetworkUtils
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698