Index: headless/public/util/url_fetcher.h |
diff --git a/headless/public/util/url_fetcher.h b/headless/public/util/url_fetcher.h |
index 41bf3fa7ef0e9cdbc72804c03fd87bc5b3f874dd..df0cc0ff21635911da492fd06bc89e20dbfea183 100644 |
--- a/headless/public/util/url_fetcher.h |
+++ b/headless/public/util/url_fetcher.h |
@@ -60,17 +60,11 @@ class HEADLESS_EXPORT URLFetcher { |
DISALLOW_COPY_AND_ASSIGN(ResultListener); |
}; |
- // Instructs the sub-class to fetch the resource. |
- virtual void StartFetch(const GURL& rewritten_url, |
+ virtual void StartFetch(const GURL& url, |
const std::string& method, |
+ const std::string& post_data, |
const net::HttpRequestHeaders& request_headers, |
- const std::string& devtools_request_id, |
- ResultListener* result_listener); |
- // TODO(alexclarke): Make the above pure virtual and remove this. |
- virtual void StartFetch(const GURL& rewritten_url, |
- const std::string& method, |
- const net::HttpRequestHeaders& request_headers, |
- ResultListener* result_listener); |
+ ResultListener* result_listener) = 0; |
private: |
DISALLOW_COPY_AND_ASSIGN(URLFetcher); |