| 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 67848b0596c8c7ca7fadf25fa29f67fab776c5dc..729d27d109acca766bc8619a028ea4621599e8fb 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -73,6 +73,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();
|
| }
|
|
|