| 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 0c250f843bfb84e076bd212013b9c3768ad8d693..823550aa7827887f73cbc7101a3763f61dc19336 100644
|
| --- a/net/url_request/url_request_file_job.h
|
| +++ b/net/url_request/url_request_file_job.h
|
| @@ -53,6 +53,12 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob {
|
| FilePath file_path_;
|
|
|
| private:
|
| + // Tests to see if access to |path| is allowed. If g_allow_file_access_ is
|
| + // 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);
|
| +
|
| // Callback after fetching file info on a background thread.
|
| void DidResolve(bool exists, const base::PlatformFileInfo& file_info);
|
|
|
|
|