Chromium Code Reviews| Index: content/browser/net/url_request_mock_http_job.h |
| diff --git a/content/browser/net/url_request_mock_http_job.h b/content/browser/net/url_request_mock_http_job.h |
| index 8c6b5fbfa13de4b53d789957ebbfa390f390c6cf..2b34df4d8799b763be08f38591ed26e493ff7cd2 100644 |
| --- a/content/browser/net/url_request_mock_http_job.h |
| +++ b/content/browser/net/url_request_mock_http_job.h |
| @@ -23,7 +23,9 @@ class URLRequestMockHTTPJob : public net::URLRequestFileJob { |
| virtual void GetResponseInfo(net::HttpResponseInfo* info); |
| virtual bool IsRedirectResponse(GURL* location, int* http_status_code); |
| - static net::URLRequest::ProtocolFactory Factory; |
| + // Generate a url request job on the DIR_TEST_DATA directory. |
| + static net::URLRequestJob* Factory( |
| + net::URLRequest* request, const std::string& scheme); |
|
haraken1
2011/08/10 12:55:14
This is just a refactoring.
|
| // Adds the testing URLs to the net::URLRequestFilter. |
| static void AddUrlHandler(const FilePath& base_path); |