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

Unified Diff: android_webview/browser/aw_contents_io_thread_client.h

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
« no previous file with comments | « no previous file | android_webview/browser/net/aw_request_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_contents_io_thread_client.h
diff --git a/android_webview/browser/aw_contents_io_thread_client.h b/android_webview/browser/aw_contents_io_thread_client.h
index 16ad5dd86e3802eb1e41b513255c49e00be1f899..19310066720f794de81e8bfababa70a7d4bf13be 100644
--- a/android_webview/browser/aw_contents_io_thread_client.h
+++ b/android_webview/browser/aw_contents_io_thread_client.h
@@ -66,6 +66,10 @@ class AwContentsIoThreadClient {
static scoped_ptr<AwContentsIoThreadClient> FromID(int render_process_id,
int render_frame_id);
+ // Returns the global thread client for service worker related callbacks.
+ // An empty scoped_ptr is a valid return value.
+ static scoped_ptr<AwContentsIoThreadClient> GetServiceWorkerIoThreadClient();
+
// Called on the IO thread when a subframe is created.
static void SubFrameCreated(int render_process_id,
int parent_render_frame_id,
« no previous file with comments | « no previous file | android_webview/browser/net/aw_request_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698