Index: chrome/browser/extensions/api/dial/dial_service_unittest.cc |
diff --git a/chrome/browser/extensions/api/dial/dial_service_unittest.cc b/chrome/browser/extensions/api/dial/dial_service_unittest.cc |
index 107a43f6d2ec6dadf43f197bc41490d5ca48791d..5a5ab1add8dc261812c7b32c78dc4311929edab5 100644 |
--- a/chrome/browser/extensions/api/dial/dial_service_unittest.cc |
+++ b/chrome/browser/extensions/api/dial/dial_service_unittest.cc |
@@ -8,7 +8,7 @@ |
#include "chrome/browser/extensions/api/dial/dial_device_data.h" |
#include "chrome/browser/extensions/api/dial/dial_service.h" |
#include "net/base/ip_endpoint.h" |
-#include "net/log/capturing_net_log.h" |
+#include "net/log/test_net_log.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -43,13 +43,13 @@ class MockObserver : public DialService::Observer { |
class DialServiceTest : public testing::Test { |
public: |
DialServiceTest() |
- : dial_service_(&capturing_net_log_) { |
+ : dial_service_(&test_net_log_) { |
CHECK(net::ParseIPLiteralToNumber("0.0.0.0", &mock_ip_)); |
dial_service_.AddObserver(&mock_observer_); |
dial_socket_ = dial_service_.CreateDialSocket(); |
} |
protected: |
- net::CapturingNetLog capturing_net_log_; |
+ net::TestNetLog test_net_log_; |
net::IPAddressNumber mock_ip_; |
DialServiceImpl dial_service_; |
scoped_ptr<DialServiceImpl::DialSocket> dial_socket_; |