Index: extensions/browser/extension_protocols.cc |
diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc |
index c1ea0a9b3e33ae7f1656ae6bb8c9fc3018f013a2..79afeac428def6ac29bd04370f1a6f06943d94cb 100644 |
--- a/extensions/browser/extension_protocols.cc |
+++ b/extensions/browser/extension_protocols.cc |
@@ -284,6 +284,13 @@ class URLRequestExtensionJob : public net::URLRequestFileJob { |
request_timer_->Elapsed()); |
} |
+ // Returns true to disable the file patch checking for file: scheme in |
+ // URLRequestFileJob, that's not relevant for this class. |
+ bool CanAccessFile(const base::FilePath& original_path, |
+ const base::FilePath& absolute_path) override { |
+ return true; |
Devlin
2017/05/25 15:06:30
What do |original_path| and |absolute_path| here l
satorux1
2017/05/25 21:14:50
If the original_path is a symlink in the user's Do
Devlin
2017/05/26 00:55:36
Unfortunately, I think we do allow sym links in ex
satorux1
2017/05/26 03:28:38
Done. I'm going to run try bots.
satorux1
2017/05/26 05:00:40
I got this error:
[ RUN ] ExtensionProtocols
satorux1
2017/05/29 03:36:16
Changed to |original_path| but still the test fail
|
+ } |
+ |
void OnFilePathAndLastModifiedTimeRead(base::FilePath* read_file_path, |
base::Time* last_modified_time) { |
file_path_ = *read_file_path; |