Chromium Code Reviews| Index: net/url_request/url_request_data_job.h |
| diff --git a/net/url_request/url_request_data_job.h b/net/url_request/url_request_data_job.h |
| index d9b26214b342d25de6d3ada145e39a73b11a02eb..e7cdd7e864c708f0d31cbc6bbbe7152e0ea8596d 100644 |
| --- a/net/url_request/url_request_data_job.h |
| +++ b/net/url_request/url_request_data_job.h |
| @@ -10,10 +10,21 @@ |
| #include "net/url_request/url_request.h" |
| #include "net/url_request/url_request_simple_job.h" |
| +class GURL; |
| + |
| namespace net { |
| +class HttpResponseHeaders; |
| class URLRequest; |
| +// Extracts info from a data scheme URL. Returns OK if successful. Returns |
| +// ERR_INVALID_URL otherwise. |
| +int BuildResponseForDataURL(const GURL& url, |
|
darin (slow to review)
2014/08/18 20:23:58
This should probably be a static method on URLRequ
tyoshino (SeeGerritForStatus)
2014/08/19 13:44:56
Done.
|
| + std::string* mime_type, |
| + std::string* charset, |
| + std::string* data, |
| + HttpResponseHeaders* headers); |
| + |
| class URLRequestDataJob : public URLRequestSimpleJob { |
| public: |
| URLRequestDataJob(URLRequest* request, NetworkDelegate* network_delegate); |