Index: net/base/net_util.h |
diff --git a/net/base/net_util.h b/net/base/net_util.h |
index e40ec0cb666c3f5b6b820593a1b84f7420de764b..7739780eb241f2f09a13c8714b9f7fe7bbd394c0 100644 |
--- a/net/base/net_util.h |
+++ b/net/base/net_util.h |
@@ -443,6 +443,10 @@ NET_EXPORT_PRIVATE bool IsLocalhost(const std::string& host); |
NET_EXPORT_PRIVATE bool IsLocalhostTLD(const std::string& host); |
+// Returns true if the url's host is a Google server. This should only be used |
+// for histograms and shouldn't be used to affect behavior. |
+NET_EXPORT_PRIVATE bool HasGoogleHost(const GURL& url); |
+ |
// A subset of IP address attributes which are actionable by the |
// application layer. Currently unimplemented for all hosts; |
// IP_ADDRESS_ATTRIBUTE_NONE is always returned. |