Chromium Code Reviews| Index: net/url_request/url_request_job.h |
| =================================================================== |
| --- net/url_request/url_request_job.h (revision 13526) |
| +++ net/url_request/url_request_job.h (working copy) |
| @@ -119,6 +119,9 @@ |
| return false; |
| } |
| + // Find out if this is a download. |
| + virtual bool IsDownload() const; |
| + |
| // Find out if this is a response to a request that advertised an SDCH |
| // dictionary. Only makes sense for some types of requests. |
| virtual bool IsSdchResponse() const { return false; } |
|
jar (doing other things)
2009/04/10 20:27:14
One element that I think is questionable is the di
Lei Zhang
2009/04/10 21:25:21
SDCH only makes sense for http right? To me, downl
jar (doing other things)
2009/04/10 22:10:09
SDCH is currently outlawed by the spec for simplic
|
| @@ -293,6 +296,9 @@ |
| // NotifyDone so that it is kept in sync with the request. |
| bool done_; |
| + // Cache the load flags from request_ because it might go away. |
| + int load_flags_; |
| + |
| // The data stream filter which is enabled on demand. |
| scoped_ptr<Filter> filter_; |