Index: net/base/registry_controlled_domains/registry_controlled_domain.h |
diff --git a/net/base/registry_controlled_domains/registry_controlled_domain.h b/net/base/registry_controlled_domains/registry_controlled_domain.h |
index b30f55ea6c2e86b0f8ceecdfde96921561cea130..2490b6196107fce6ce3d9e7ca5d37e6ecc9d3131 100644 |
--- a/net/base/registry_controlled_domains/registry_controlled_domain.h |
+++ b/net/base/registry_controlled_domains/registry_controlled_domain.h |
@@ -226,10 +226,9 @@ NET_EXPORT size_t GetRegistryLength(const std::string& host, |
typedef const struct DomainRule* (*FindDomainPtr)(const char *, unsigned int); |
-// Used for unit tests, so that a different perfect hash map from the full |
-// list is used. Set to NULL to use the Default function. |
-NET_EXPORT_PRIVATE void SetFindDomainFunctionAndStringPoolForTesting( |
- FindDomainPtr fn, const char* stringpool); |
+// Used for unit tests, so that a frozen list of domains is used. Set to NULL |
+// to use the default domains. |
+NET_EXPORT_PRIVATE void SetFindDomainGraph(const unsigned char* domains); |
} // namespace registry_controlled_domains |
} // namespace net |