Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: chrome/browser/android/offline_pages/offline_page_request_job.cc

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: disable checks in sub classes Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/offline_pages/offline_page_request_job.cc
diff --git a/chrome/browser/android/offline_pages/offline_page_request_job.cc b/chrome/browser/android/offline_pages/offline_page_request_job.cc
index 40edfd4f6fdd1fc742c4a13b72fba4c5a1deb672..3755cf17d4f0fe7071101155716391f473febea9 100644
--- a/chrome/browser/android/offline_pages/offline_page_request_job.cc
+++ b/chrome/browser/android/offline_pages/offline_page_request_job.cc
@@ -717,4 +717,9 @@ void OfflinePageRequestJob::SetDelegateForTesting(
delegate_ = std::move(delegate);
}
+bool OfflinePageRequestJob::CanAccessFile(const base::FilePath& original_path,
+ const base::FilePath& absolute_path) {
+ return true;
+}
+
} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698