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 06c31009c8b13c61bcacca71de3df3c1f1466494..70839f5292ffd24d5af535e02de96e902a81f7a3 100644 |
--- a/net/test/url_request/url_request_mock_http_job.h |
+++ b/net/test/url_request/url_request_mock_http_job.h |
@@ -48,6 +48,11 @@ 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 std::string& path); |
+ static GURL GetMockHttpsUrl(const std::string& path); |
+ |
+ // Like above, but takes a FilePath. These methods are deprecated. Prefer the |
+ // std::string versions. See http://crbug.com/496936. |
static GURL GetMockUrl(const base::FilePath& path); |
static GURL GetMockHttpsUrl(const base::FilePath& path); |