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

Unified Diff: content/browser/service_worker/service_worker_version.cc

Issue 2451373003: service worker: Implement NavigationPreloadManager.setHeaderValue (Closed)
Patch Set: rebase 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: content/browser/service_worker/service_worker_version.cc
diff --git a/content/browser/service_worker/service_worker_version.cc b/content/browser/service_worker/service_worker_version.cc
index 5bdeb7b37524cd46331ba07d3100e483fe3c7e3d..60d70167be0bf719f8c6fa3c92d39f5129f5671a 100644
--- a/content/browser/service_worker/service_worker_version.cc
+++ b/content/browser/service_worker/service_worker_version.cc
@@ -346,6 +346,11 @@ ServiceWorkerVersion::~ServiceWorkerVersion() {
embedded_worker_->RemoveListener(this);
}
+void ServiceWorkerVersion::SetNavigationPreloadState(
+ const NavigationPreloadState& state) {
+ navigation_preload_state_ = state;
+}
+
void ServiceWorkerVersion::SetStatus(Status status) {
if (status_ == status)
return;
« no previous file with comments | « content/browser/service_worker/service_worker_version.h ('k') | content/child/service_worker/service_worker_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698