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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: fix crash 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 cf90ffb53f76557eceac7a23e13255c5fce68310..08c403fbd56018d4317807b99695f3eb1a5a9d29 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -112,6 +112,7 @@ class ServiceWorkerGlobalScopeProxy final
void dispatchPaymentRequestEvent(int,
const WebPaymentAppRequestData&) override;
bool hasFetchEventHandler() override;
+ void onNavigationPreloadSent(int fetchEventID, const WebURL&) override;
void onNavigationPreloadResponse(
int fetchEventID,
std::unique_ptr<WebURLResponse>,
@@ -119,6 +120,8 @@ class ServiceWorkerGlobalScopeProxy final
void onNavigationPreloadError(
int fetchEventID,
std::unique_ptr<WebServiceWorkerError>) override;
+ void onNavigationPreloadCompleted(int fetchEventID,
+ int64_t encodedDataLength) override;
// WorkerReportingProxy overrides:
void countFeature(UseCounter::Feature) override;

Powered by Google App Engine
This is Rietveld 408576698