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

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

Issue 1544863002: [Android WebView] Implement initial settings and callback support for Service Workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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/AwContentsStatics.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java b/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
index ed9efd865f92ed175aed3674c34abc4486d7c24a..9e89add9ad054a3ee26103e6a0ab6f99154dfdda 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java
@@ -90,6 +90,11 @@ public class AwContentsStatics {
return nativeGetProductVersion();
}
+ public static void setServiceWorkerIoThreadClient(AwContentsIoThreadClient ioThreadClient,
+ AwBrowserContext browserContext) {
+ nativeSetServiceWorkerIoThreadClient(ioThreadClient, browserContext);
+ }
+
//--------------------------------------------------------------------------------------------
// Native methods
//--------------------------------------------------------------------------------------------
@@ -99,4 +104,6 @@ public class AwContentsStatics {
private static native String nativeGetUnreachableWebDataUrl();
private static native void nativeSetLegacyCacheRemovalDelayForTest(long timeoutMs);
private static native String nativeGetProductVersion();
+ private static native void nativeSetServiceWorkerIoThreadClient(
+ AwContentsIoThreadClient ioThreadClient, AwBrowserContext browserContext);
}

Powered by Google App Engine
This is Rietveld 408576698