summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index f573111..01f5984 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -251,6 +251,10 @@ class URLRequest : public NonThreadSafe {
// to handle those.
static bool IsHandledURL(const GURL& url);
+ // Allow access to file:// on ChromeOS for tests.
+ static void AllowFileAccess();
+ static bool IsFileAccessAllowed();
+
// The original url is the url used to initialize the request, and it may
// differ from the url if the request was redirected.
const GURL& original_url() const { return original_url_; }