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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java

Issue 11090003: [Android] Upstream WebView.allow{Content|File}Access implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Workaround to remove dependency on https://codereview.chromium.org/11030051 Created 8 years, 2 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: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
index a81c06b52589bf47e7ceeca753daee37dbae1be5..b656a05acf0d18410ac462ad2fc8df2a3f0834fb 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java
@@ -22,5 +22,13 @@ public interface AwContentsIoThreadClient {
// Called on the IO thread.
@CalledByNative
+ public boolean shouldBlockContentUrls();
+
+ // Called on the IO thread.
+ @CalledByNative
+ public boolean shouldBlockFileUrls();
+
+ // Called on the IO thread.
+ @CalledByNative
public boolean shouldBlockNetworkLoads();
}

Powered by Google App Engine
This is Rietveld 408576698