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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h

Issue 2475663003: Rename navigationPreload of FetchEvent to preloadResponse (Closed)
Patch Set: update global-interface-listing-service-worker-expected.txt Created 4 years, 1 month 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 b8e6289c6edf10949b96a4ae9111bde03c0e14f3..e7a5e13d51ff0a5cf74b011f9a29835fa8204cf6 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.h
@@ -52,7 +52,7 @@ class MODULES_EXPORT FetchEvent final : public ExtendableEvent {
bool isReload() const;
void respondWith(ScriptState*, ScriptPromise, ExceptionState&);
- ScriptPromise navigationPreload(ScriptState*);
+ ScriptPromise preloadResponse(ScriptState*);
void onNavigationPreloadResponse(std::unique_ptr<WebServiceWorkerResponse>,
std::unique_ptr<WebDataConsumerHandle>);
@@ -74,7 +74,7 @@ class MODULES_EXPORT FetchEvent final : public ExtendableEvent {
RefPtr<ScriptState> m_scriptState;
Member<RespondWithObserver> m_observer;
Member<Request> m_request;
- Member<PreloadResponseProperty> m_navigationPreloadProperty;
+ Member<PreloadResponseProperty> m_preloadResponseProperty;
String m_clientId;
bool m_isReload;
};

Powered by Google App Engine
This is Rietveld 408576698