Index: content/test/net/url_request_slow_http_job.cc |
diff --git a/content/test/net/url_request_slow_http_job.cc b/content/test/net/url_request_slow_http_job.cc |
index 7aa6001a3e97f3b1f4ee9d33ddccc2ae45037904..b5d30aa4d4194b0fd69f440b413b03b9b9729aa8 100644 |
--- a/content/test/net/url_request_slow_http_job.cc |
+++ b/content/test/net/url_request_slow_http_job.cc |
@@ -27,9 +27,11 @@ const int URLRequestSlowHTTPJob::kDelayMs = 1000; |
using base::TimeDelta; |
// static |
-net::URLRequestJob* URLRequestSlowHTTPJob::Factory(net::URLRequest* request, |
- const std::string& scheme) { |
- return new URLRequestSlowHTTPJob(request, |
+net::URLRequestJob* URLRequestSlowHTTPJob::Factory( |
+ net::URLRequest* request, |
+ net::NetworkDelegate* network_delegate, |
+ const std::string& scheme) { |
+ return new URLRequestSlowHTTPJob(request, network_delegate, |
GetOnDiskPath(BasePath(), request, scheme)); |
} |
@@ -54,9 +56,11 @@ GURL URLRequestSlowHTTPJob::GetMockUrl(const FilePath& path) { |
return GURL(url); |
} |
-URLRequestSlowHTTPJob::URLRequestSlowHTTPJob(net::URLRequest* request, |
- const FilePath& file_path) |
- : URLRequestMockHTTPJob(request, file_path) { } |
+URLRequestSlowHTTPJob::URLRequestSlowHTTPJob( |
+ net::URLRequest* request, |
+ net::NetworkDelegate* network_delegate, |
+ const FilePath& file_path) |
+ : URLRequestMockHTTPJob(request, network_delegate, file_path) { } |
void URLRequestSlowHTTPJob::Start() { |
delay_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kDelayMs), this, |