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

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

Issue 998173002: Revise ServiceWorker DevTools protocols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated kinuko's comment Created 5 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_registration.cc
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc
index eba1997a7d5566ae516242c61734906eddb110d8..81245cacc275eb9b46d3c523786ddf3e73d89c1d 100644
--- a/content/browser/service_worker/service_worker_registration.cc
+++ b/content/browser/service_worker/service_worker_registration.cc
@@ -75,12 +75,12 @@ void ServiceWorkerRegistration::NotifyUpdateFound() {
ServiceWorkerRegistrationInfo ServiceWorkerRegistration::GetInfo() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
return ServiceWorkerRegistrationInfo(
- pattern(),
- registration_id_,
+ pattern(), registration_id_,
+ is_deleted_ ? ServiceWorkerRegistrationInfo::IsDeleted
+ : ServiceWorkerRegistrationInfo::IsNotDeleted,
GetVersionInfo(active_version_.get()),
GetVersionInfo(waiting_version_.get()),
- GetVersionInfo(installing_version_.get()),
- resources_total_size_bytes_);
+ GetVersionInfo(installing_version_.get()), resources_total_size_bytes_);
}
void ServiceWorkerRegistration::SetActiveVersion(

Powered by Google App Engine
This is Rietveld 408576698