Index: net/test/url_request/url_request_mock_http_job.h |
diff --git a/net/test/url_request/url_request_mock_http_job.h b/net/test/url_request/url_request_mock_http_job.h |
index 6eb3c72b86199aeeba02342344b0fbf39f8c1f50..6e454f410e02c82047e70a51aec861856050f8f4 100644 |
--- a/net/test/url_request/url_request_mock_http_job.h |
+++ b/net/test/url_request/url_request_mock_http_job.h |
@@ -49,8 +49,8 @@ class URLRequestMockHTTPJob : public URLRequestFileJob { |
void GetResponseInfo(HttpResponseInfo* info) override; |
bool IsRedirectResponse(GURL* location, int* http_status_code) override; |
- // Adds the testing URLs to the URLRequestFilter. |
- static void AddUrlHandler( |
+ // Adds the testing URLs to the URLRequestFilter, both under HTTP and HTTPS. |
+ static void AddUrlHandlers( |
const base::FilePath& base_path, |
const scoped_refptr<base::SequencedWorkerPool>& worker_pool); |
@@ -64,6 +64,7 @@ class URLRequestMockHTTPJob : public URLRequestFileJob { |
// Given the path to a file relative to the path passed to AddUrlHandler(), |
// construct a mock URL. |
static GURL GetMockUrl(const base::FilePath& path); |
+ static GURL GetMockHttpsUrl(const base::FilePath& path); |
// Given the path to a file relative to the path passed to AddUrlHandler(), |
// construct a mock URL that reports |net_error| at given |phase| of the |