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

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

Issue 2433273003: service worker: Plumb NavigationPreloadManager.enable/disable to browser-side (Closed)
Patch Set: comments Created 4 years, 2 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/NavigationPreloadManager.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.h b/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.h
index 4f61c47ca54e7465b84be47729d09e0a43c83185..9e17e989ddb984533977082a7913a9394d559890 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.h
@@ -34,6 +34,8 @@ class NavigationPreloadManager final
private:
explicit NavigationPreloadManager(ServiceWorkerRegistration*);
+ ScriptPromise setEnabled(bool enable, ScriptState*);
+
Member<ServiceWorkerRegistration> m_registration;
};

Powered by Google App Engine
This is Rietveld 408576698