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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.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
Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
index bcd80a8c5316268e454d13845405104387e38e0d..6a7fc6125a5a377ab45625d0aff3e263b1a67e3c 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -50,7 +50,7 @@ class WebEmbeddedWorkerImpl;
class WebServiceWorkerContextClient;
struct WebServiceWorkerError;
class WebServiceWorkerRequest;
-class WebServiceWorkerResponse;
+class WebURLResponse;
// This class is created and destructed on the main thread, but live most
// of its time as a resident of the worker thread.
@@ -113,7 +113,7 @@ class ServiceWorkerGlobalScopeProxy final
bool hasFetchEventHandler() override;
void onNavigationPreloadResponse(
int fetchEventID,
- std::unique_ptr<WebServiceWorkerResponse>,
+ std::unique_ptr<WebURLResponse>,
std::unique_ptr<WebDataConsumerHandle>) override;
void onNavigationPreloadError(
int fetchEventID,

Powered by Google App Engine
This is Rietveld 408576698