| Index: extensions/browser/extension_protocols.cc
|
| diff --git a/extensions/browser/extension_protocols.cc b/extensions/browser/extension_protocols.cc
|
| index c1ea0a9b3e33ae7f1656ae6bb8c9fc3018f013a2..259a37c677c5da22644e0eb0d27dcfc5bf0650ec 100644
|
| --- a/extensions/browser/extension_protocols.cc
|
| +++ b/extensions/browser/extension_protocols.cc
|
| @@ -284,6 +284,14 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
|
| request_timer_->Elapsed());
|
| }
|
|
|
| + bool CanAccessFile(const base::FilePath& original_path,
|
| + const base::FilePath& absolute_path) override {
|
| + // The access checks for the file are performed before the job is
|
| + // created, so we should know that this is safe.
|
| + DCHECK(directory_path_.IsParent(original_path));
|
| + return true;
|
| + }
|
| +
|
| void OnFilePathAndLastModifiedTimeRead(base::FilePath* read_file_path,
|
| base::Time* last_modified_time) {
|
| file_path_ = *read_file_path;
|
|
|