| Index: net/proxy/proxy_service_unittest.cc
|
| diff --git a/net/proxy/proxy_service_unittest.cc b/net/proxy/proxy_service_unittest.cc
|
| index 4f1569057912190d253309f40afd65266d254f3c..6b757df80340ff6989472ab66190cc791bc053d4 100644
|
| --- a/net/proxy/proxy_service_unittest.cc
|
| +++ b/net/proxy/proxy_service_unittest.cc
|
| @@ -14,8 +14,10 @@
|
| #include "net/base/net_errors.h"
|
| #include "net/base/network_delegate_impl.h"
|
| #include "net/base/test_completion_callback.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/proxy/dhcp_proxy_script_fetcher.h"
|
| #include "net/proxy/mock_proxy_resolver.h"
|
| #include "net/proxy/mock_proxy_script_fetcher.h"
|
| @@ -260,7 +262,7 @@ TEST_F(ProxyServiceTest, Direct) {
|
| EXPECT_TRUE(info.proxy_resolve_end_time().is_null());
|
|
|
| // Check the NetLog was filled correctly.
|
| - TestNetLog::CapturedEntryList entries;
|
| + CapturedNetLogEntry::List entries;
|
| log.GetEntries(&entries);
|
|
|
| EXPECT_EQ(3u, entries.size());
|
| @@ -412,7 +414,7 @@ TEST_F(ProxyServiceTest, PAC) {
|
| EXPECT_LE(info.proxy_resolve_start_time(), info.proxy_resolve_end_time());
|
|
|
| // Check the NetLog was filled correctly.
|
| - TestNetLog::CapturedEntryList entries;
|
| + CapturedNetLogEntry::List entries;
|
| log.GetEntries(&entries);
|
|
|
| EXPECT_EQ(5u, entries.size());
|
| @@ -1919,7 +1921,7 @@ TEST_F(ProxyServiceTest, CancelWhilePACFetching) {
|
| EXPECT_FALSE(callback1.have_result()); // Cancelled.
|
| EXPECT_FALSE(callback2.have_result()); // Cancelled.
|
|
|
| - TestNetLog::CapturedEntryList entries1;
|
| + CapturedNetLogEntry::List entries1;
|
| log1.GetEntries(&entries1);
|
|
|
| // Check the NetLog for request 1 (which was cancelled) got filled properly.
|
| @@ -2466,7 +2468,7 @@ TEST_F(ProxyServiceTest, NetworkChangeTriggersPacRefetch) {
|
| // Check that the expected events were output to the log stream. In particular
|
| // PROXY_CONFIG_CHANGED should have only been emitted once (for the initial
|
| // setup), and NOT a second time when the IP address changed.
|
| - TestNetLog::CapturedEntryList entries;
|
| + CapturedNetLogEntry::List entries;
|
| log.GetEntries(&entries);
|
|
|
| EXPECT_TRUE(LogContainsEntryWithType(entries, 0,
|
|
|