| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index 377e568711bfa966d697b8de9953da2ed4a4fd95..b7995fdf68a686973fd5a26919fcf9631a05b567 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -75,6 +75,18 @@ public class AwContents {
|
|
|
| // Called on the IO thread.
|
| @Override
|
| + public boolean shouldBlockContentUrls() {
|
| + return !AwContents.this.mSettings.getAllowContentAccess();
|
| + }
|
| +
|
| + // Called on the IO thread.
|
| + @Override
|
| + public boolean shouldBlockFileUrls() {
|
| + return !AwContents.this.mSettings.getAllowFileAccess();
|
| + }
|
| +
|
| + // Called on the IO thread.
|
| + @Override
|
| public boolean shouldBlockNetworkLoads() {
|
| return AwContents.this.mSettings.getBlockNetworkLoads();
|
| }
|
|
|