Index: net/http/http_network_transaction_unittest.cc |
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc |
index 966dab90c8f14c0f23aa93df369e5c006861c729..78e47a6bf6a5a0711b7269e6b84081c30264dfd7 100644 |
--- a/net/http/http_network_transaction_unittest.cc |
+++ b/net/http/http_network_transaction_unittest.cc |
@@ -50,10 +50,10 @@ |
#include "net/http/http_stream_factory.h" |
#include "net/http/http_stream_parser.h" |
#include "net/http/http_transaction_test_util.h" |
-#include "net/log/captured_net_log_entry.h" |
#include "net/log/net_log.h" |
-#include "net/log/net_log_unittest.h" |
#include "net/log/test_net_log.h" |
+#include "net/log/test_net_log_entry.h" |
+#include "net/log/test_net_log_util.h" |
#include "net/proxy/mock_proxy_resolver.h" |
#include "net/proxy/proxy_config_service_fixed.h" |
#include "net/proxy/proxy_info.h" |
@@ -355,7 +355,7 @@ class HttpNetworkTransactionTest |
rv = ReadTransaction(trans.get(), &out.response_data); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_REQUEST_HEADERS, |
@@ -2449,7 +2449,7 @@ TEST_P(HttpNetworkTransactionTest, BasicAuthProxyNoKeepAliveHttp10) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -2568,7 +2568,7 @@ TEST_P(HttpNetworkTransactionTest, BasicAuthProxyNoKeepAliveHttp11) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -2684,7 +2684,7 @@ TEST_P(HttpNetworkTransactionTest, BasicAuthProxyKeepAliveHttp10) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -2789,7 +2789,7 @@ TEST_P(HttpNetworkTransactionTest, BasicAuthProxyKeepAliveHttp11) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -3052,7 +3052,7 @@ TEST_P(HttpNetworkTransactionTest, |
rv = callback1.WaitForResult(); |
EXPECT_EQ(ERR_UNEXPECTED_PROXY_AUTH, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -6842,7 +6842,7 @@ TEST_P(HttpNetworkTransactionTest, BasicAuthSpdyProxy) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -10906,7 +10906,7 @@ TEST_P(HttpNetworkTransactionTest, ProxyTunnelGet) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(OK, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
@@ -10980,7 +10980,7 @@ TEST_P(HttpNetworkTransactionTest, ProxyTunnelGetHangup) { |
rv = callback1.WaitForResult(); |
EXPECT_EQ(ERR_EMPTY_RESPONSE, rv); |
- CapturedNetLogEntry::List entries; |
+ TestNetLogEntry::List entries; |
log.GetEntries(&entries); |
size_t pos = ExpectLogContainsSomewhere( |
entries, 0, NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |