Chromium Code Reviews| Index: net/url_request/url_request_file_job.h |
| diff --git a/net/url_request/url_request_file_job.h b/net/url_request/url_request_file_job.h |
| index e2b39a587f97be03b78f0a857da6227922ae7c60..c1c3b85963c16bed3e8e50376830939d98220ce4 100644 |
| --- a/net/url_request/url_request_file_job.h |
| +++ b/net/url_request/url_request_file_job.h |
| @@ -24,7 +24,9 @@ namespace net { |
| // A request job that handles reading file URLs |
| class NET_EXPORT URLRequestFileJob : public URLRequestJob { |
| public: |
| - URLRequestFileJob(URLRequest* request, const FilePath& file_path); |
| + URLRequestFileJob(URLRequest* request, |
| + const FilePath& file_path, |
| + NetworkDelegate* network_delegate); |
| static URLRequest::ProtocolFactory Factory; |
| @@ -56,7 +58,8 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob { |
| // true, then this will return true. If the NetworkDelegate associated with |
| // the |request| says it's OK, then this will also return true. |
| static bool IsFileAccessAllowed(const URLRequest& request, |
| - const FilePath& path); |
| + const FilePath& path, |
| + NetworkDelegate* network_delegate); |
|
mmenke
2012/08/15 14:57:16
Since you manually inlined this function, you need
shalev
2012/08/15 21:23:41
Done.
|
| // Callback after fetching file info on a background thread. |
| void DidResolve(bool exists, const base::PlatformFileInfo& file_info); |