| Index: android_webview/native/aw_contents_io_thread_client_impl.h
|
| diff --git a/android_webview/native/aw_contents_io_thread_client_impl.h b/android_webview/native/aw_contents_io_thread_client_impl.h
|
| index 1df03ca4b6e77a683c88a80f285068b10f0ead77..e90375d1584097d17bb1f02fb028510ee8820232 100644
|
| --- a/android_webview/native/aw_contents_io_thread_client_impl.h
|
| +++ b/android_webview/native/aw_contents_io_thread_client_impl.h
|
| @@ -40,6 +40,12 @@ class AwContentsIoThreadClientImpl : public AwContentsIoThreadClient {
|
| static void Associate(content::WebContents* web_contents,
|
| const base::android::JavaRef<jobject>& jclient);
|
|
|
| + // Sets the |jclient| java instance to which service worker related
|
| + // callbacks should be delegated.
|
| + static void SetServiceWorkerIoThreadClient(
|
| + const base::android::JavaRef<jobject>& jclient,
|
| + const base::android::JavaRef<jobject>& browser_context);
|
| +
|
| // Either |pending_associate| is true or |jclient| holds a non-null
|
| // Java object.
|
| AwContentsIoThreadClientImpl(bool pending_associate,
|
|
|