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

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

Issue 1841863003: DevTools: move the force update SW on reload checkbox to the Resources / Service Workers view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixed Created 4 years, 9 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/service_worker/service_worker_context_watcher.cc
diff --git a/content/browser/service_worker/service_worker_context_watcher.cc b/content/browser/service_worker/service_worker_context_watcher.cc
index 582ce9452ad566d3f7f070c7af44a2112db7393e..55ed1ec7f8cebf77530e6e28f02f71d29f3605d5 100644
--- a/content/browser/service_worker/service_worker_context_watcher.cc
+++ b/content/browser/service_worker/service_worker_context_watcher.cc
@@ -281,17 +281,4 @@ void ServiceWorkerContextWatcher::OnRegistrationDeleted(int64_t registration_id,
ServiceWorkerRegistrationInfo::IS_DELETED);
}
-void ServiceWorkerContextWatcher::OnForceUpdateOnPageLoadChanged(
- int64_t registration_id,
- bool force_update_on_page_load) {
- ServiceWorkerRegistration* registration =
- context_->GetLiveRegistration(registration_id);
- if (!registration)
- return;
- std::vector<ServiceWorkerRegistrationInfo> registrations;
- registrations.push_back(registration->GetInfo());
- BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::Bind(registration_callback_, registrations));
-}
-
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698