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 ec907679481827eca9a5c04fbdb451ebc43b9848..41d031df7bf1d6e75842a8b21b05fdf043b212bd 100644 |
--- a/net/url_request/url_request_file_job.h |
+++ b/net/url_request/url_request_file_job.h |
@@ -72,6 +72,10 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob { |
base::FilePath file_path_; |
private: |
+ // ... |
+ virtual bool CanAccessFile(const base::FilePath& original_path, |
+ const base::FilePath& absolute_path); |
+ |
// Meta information about the file. It's used as a member in the |
// URLRequestFileJob and also passed between threads because disk access is |
// necessary to obtain it. |
@@ -89,6 +93,8 @@ class NET_EXPORT URLRequestFileJob : public URLRequestJob { |
bool file_exists; |
// Flag showing whether the file name actually refers to a directory. |
bool is_directory; |
+ // Absolute path of the file (i.e. symbolic link is resolved). |
+ base::FilePath absolute_path; |
}; |
// Fetches file info on a background thread. |