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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.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/modules/serviceworkers/FetchEvent.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
index b2a15213ab408bd52e6e5fa90a667cbae06a91a0..bddd967fd036cd793c3e3d8a72018c978975957d 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
@@ -25,7 +25,7 @@ class RespondWithObserver;
class ScriptState;
class WebDataConsumerHandle;
struct WebServiceWorkerError;
-class WebServiceWorkerResponse;
+class WebURLResponse;
// A fetch event is dispatched by the client to a service worker's script
// context. RespondWithObserver can be used to notify the client about the
@@ -55,7 +55,7 @@ class MODULES_EXPORT FetchEvent final : public ExtendableEvent {
ScriptPromise preloadResponse(ScriptState*);
void onNavigationPreloadResponse(ScriptState*,
- std::unique_ptr<WebServiceWorkerResponse>,
+ std::unique_ptr<WebURLResponse>,
std::unique_ptr<WebDataConsumerHandle>);
void onNavigationPreloadError(ScriptState*,
std::unique_ptr<WebServiceWorkerError>);

Powered by Google App Engine
This is Rietveld 408576698