Index: net/test/embedded_test_server/embedded_test_server_unittest.cc |
diff --git a/net/test/embedded_test_server/embedded_test_server_unittest.cc b/net/test/embedded_test_server/embedded_test_server_unittest.cc |
index a143ae376bc8fde029acecf485a0a0881006ee17..3919b98bd5d2790d6a8036cdb93c6a667be66611 100644 |
--- a/net/test/embedded_test_server/embedded_test_server_unittest.cc |
+++ b/net/test/embedded_test_server/embedded_test_server_unittest.cc |
@@ -389,8 +389,8 @@ class CancelRequestDelegate : public TestDelegate { |
CancelRequestDelegate() {} |
~CancelRequestDelegate() override {} |
- void OnResponseStarted(URLRequest* request) override { |
- TestDelegate::OnResponseStarted(request); |
+ void OnResponseStarted(URLRequest* request, int net_error) override { |
+ TestDelegate::OnResponseStarted(request, net_error); |
base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
FROM_HERE, run_loop_.QuitClosure(), base::TimeDelta::FromSeconds(1)); |
} |