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

Unified Diff: Source/web/WebEmbeddedWorkerImpl.h

Issue 194073002: Identify service worker version at main resource load time (BlinkSide) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | public/web/WebServiceWorkerContextClient.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebEmbeddedWorkerImpl.h
diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h
index 8d687929830d5f1d4e260d17619ec4c2f5f9ca99..c36fa8994140e3be3c3628be27a8e11cf2ec75fc 100644
--- a/Source/web/WebEmbeddedWorkerImpl.h
+++ b/Source/web/WebEmbeddedWorkerImpl.h
@@ -44,6 +44,8 @@ class WorkerThread;
namespace blink {
class ServiceWorkerGlobalScopeProxy;
+class WebDataSource;
kinuko 2014/03/14 11:47:17 not necessary?
michaeln 2014/03/15 01:22:39 Done.
+class WebServiceWorkerNetworkProvider;
class WebView;
class WebEmbeddedWorkerImpl FINAL :
@@ -67,6 +69,9 @@ private:
void prepareShadowPageForLoader();
// WebFrameClient overrides.
+ virtual void willSendRequest(
+ WebFrame*, unsigned identifier, WebURLRequest&,
+ const WebURLResponse& redirectResponse) OVERRIDE;
virtual void didFinishDocumentLoad(WebFrame*) OVERRIDE;
void onScriptLoaderFinished();
@@ -78,6 +83,10 @@ private:
OwnPtr<WebServiceWorkerContextClient> m_workerContextClient;
OwnPtr<WebWorkerPermissionClientProxy> m_permissionClient;
+ // We retain ownership of this one which is for use on the
+ // main thread only.
+ OwnPtr<WebServiceWorkerNetworkProvider> m_networkProvider;
+
// Kept around only while main script loading is ongoing.
OwnPtr<Loader> m_mainScriptLoader;
« no previous file with comments | « no previous file | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | public/web/WebServiceWorkerContextClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698