Adopt more inclusive language in //net
While this does rename some symbols and APIs, it
does not change externally-exposed values (e.g. preferences
or policies), which may require coordination with Enterprise
to avoid breaking anyone.
Adopt more inclusive language in //net, by deprecating the
terms whitelist and blacklist into more descriptive terms,
such as allowlist and blocklist.
[email protected], [email protected], [email protected]
Bug: 987648, 981129
Change-Id: Id558d29e0049af7e110dbb0528ac9d511e4620ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1718348
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Matt Menke <[email protected]>
Commit-Queue: Ryan Sleevi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#681267}
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index 2a24deba..745ccf5 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -6523,8 +6523,8 @@
EXPECT_TRUE(mock_quic_data.AllWriteDataConsumed());
}
-TEST_P(QuicNetworkTransactionTest, HostInWhitelist) {
- session_params_.quic_host_whitelist.insert("mail.example.org");
+TEST_P(QuicNetworkTransactionTest, HostInAllowlist) {
+ session_params_.quic_host_allowlist.insert("mail.example.org");
MockRead http_reads[] = {
MockRead("HTTP/1.1 200 OK\r\n"), MockRead(kQuicAlternativeServiceHeader),
@@ -6565,8 +6565,8 @@
SendRequestAndExpectQuicResponse("hello!");
}
-TEST_P(QuicNetworkTransactionTest, HostNotInWhitelist) {
- session_params_.quic_host_whitelist.insert("mail.example.com");
+TEST_P(QuicNetworkTransactionTest, HostNotInAllowlist) {
+ session_params_.quic_host_allowlist.insert("mail.example.com");
MockRead http_reads[] = {
MockRead("HTTP/1.1 200 OK\r\n"), MockRead(kQuicAlternativeServiceHeader),