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

Unified Diff: net/base/network_delegate_impl.h

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: add null checks for network_delegate() Created 3 years, 7 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: net/base/network_delegate_impl.h
diff --git a/net/base/network_delegate_impl.h b/net/base/network_delegate_impl.h
index a46942a51296b5d6ee45c0cefeb0b756bd749bb7..2cbdd7b075b632271f963ac741fbaa6c1329124d 100644
--- a/net/base/network_delegate_impl.h
+++ b/net/base/network_delegate_impl.h
@@ -86,7 +86,8 @@ class NET_EXPORT NetworkDelegateImpl : public NetworkDelegate {
CookieOptions* options) override;
bool OnCanAccessFile(const URLRequest& request,
- const base::FilePath& path) const override;
+ const base::FilePath& original_path,
+ const base::FilePath& absolute_path) const override;
bool OnCanEnablePrivacyMode(
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698