History log of /frameworks/base/core/java/android/webkit/ServiceWorkerWebSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b90f5389ddd704bb50bb7846ff3298920e7bb40a 29-Apr-2016 Tim Volodine <timvolodine@google.com> [WebView] Update ServiceWorker related documentation.

Add some clarifying documentation and usage example.

BUG: 28296205
Change-Id: Ib1695822e3d361b17fc4d8a9a3f24a14e34f40ec
/frameworks/base/core/java/android/webkit/ServiceWorkerWebSettings.java
28c83564419de9f4f3d22aff630244dc4cbc3c2f 20-Jan-2016 Tim Volodine <timvolodine@chromium.org> Add Service Worker settings and callback support in WebView.

Service Workers are not tied to WebView instances so currently
there is no mechanism to capture callbacks originating from
within Service Workers.

This patch adds the necessary classes to capture callbacks
and allows to set settings specifically for Service Workers.

The main idea is that to control service workers the embedding
app would obtain an instance of ServiceWorkerController using
ServiceWorkerController.getInstance() first. After that it would
be able to set a custom ServiceWorkerClient and change
ServiceWorkerWebSettings via the controller object.

BUG: 22709088
Change-Id: I0eb17be46b767851676b77a94757771611fa3a1b
/frameworks/base/core/java/android/webkit/ServiceWorkerWebSettings.java