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

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h

Issue 2618313003: Use WebURLResponse to pass the navigation preload response from SWContextClient to FetchEvent. (Closed)
Patch Set: incorporated falken's comment Created 3 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 | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
index 8cbe7e8d3f5f12bd1c10880f0ef63f919e9c89bb..1028a5923fc0c8a281c4f294f958516a6837b193 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
@@ -41,12 +41,12 @@ namespace blink {
class WebDataConsumerHandle;
class WebServiceWorkerRequest;
-class WebServiceWorkerResponse;
class WebString;
struct WebNotificationData;
struct WebPaymentAppRequestData;
struct WebServiceWorkerClientInfo;
struct WebServiceWorkerError;
+class WebURLResponse;
// A proxy interface to talk to the worker's GlobalScope implementation.
// All methods of this class must be called on the worker thread.
@@ -102,7 +102,7 @@ class WebServiceWorkerContextProxy {
virtual void onNavigationPreloadResponse(
int fetchEventID,
- std::unique_ptr<WebServiceWorkerResponse>,
+ std::unique_ptr<WebURLResponse>,
std::unique_ptr<WebDataConsumerHandle>) = 0;
virtual void onNavigationPreloadError(
int fetchEventID,
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698