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

Unified Diff: content/browser/loader/navigation_url_loader_delegate.h

Issue 2045383002: PlzNavigate: detect when a ServiceWorker is present (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 6 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: content/browser/loader/navigation_url_loader_delegate.h
diff --git a/content/browser/loader/navigation_url_loader_delegate.h b/content/browser/loader/navigation_url_loader_delegate.h
index 6f6cf1db2fbb8c17657ead15f935b5400d15f324..abfe074f667a3da6b4f6fab72ad7051ce2c64b18 100644
--- a/content/browser/loader/navigation_url_loader_delegate.h
+++ b/content/browser/loader/navigation_url_loader_delegate.h
@@ -49,6 +49,9 @@ class CONTENT_EXPORT NavigationURLLoaderDelegate {
// until after the renderer was initialized.
virtual void OnRequestStarted(base::TimeTicks timestamp) = 0;
+ // Called when a ServiceWorker was found for the navigation.
+ virtual void OnServiceWorkerEncountered() = 0;
+
protected:
NavigationURLLoaderDelegate() {}
virtual ~NavigationURLLoaderDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698