Index: android_webview/browser/aw_contents_io_thread_client.h |
diff --git a/android_webview/browser/aw_contents_io_thread_client.h b/android_webview/browser/aw_contents_io_thread_client.h |
index ac55035fb7894b7508478114ded0eac71c453d07..659be10b67ca15ddc0a978fd0b0dfb705b7e7cd3 100644 |
--- a/android_webview/browser/aw_contents_io_thread_client.h |
+++ b/android_webview/browser/aw_contents_io_thread_client.h |
@@ -45,6 +45,14 @@ class AwContentsIoThreadClient { |
virtual scoped_ptr<InterceptedRequestData> ShouldInterceptRequest( |
const net::URLRequest* request) = 0; |
+ // Retrieve the AllowContentAccess setting value of this AwContents. |
+ // This method is called on the IO thread only. |
+ virtual bool ShouldBlockContentUrls() const = 0; |
+ |
+ // Retrieve the AllowFileAccess setting value of this AwContents. |
+ // This method is called on the IO thread only. |
+ virtual bool ShouldBlockFileUrls() const = 0; |
+ |
// Retrieve the BlockNetworkLoads setting value of this AwContents. |
// This method is called on the IO thread only. |
virtual bool ShouldBlockNetworkLoads() const = 0; |