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

Unified Diff: content/common/service_worker/service_worker_types.cc

Issue 669303003: ServiceWorker: Make a way to retrieve a service worker version id (Chromium) (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile errors Created 6 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: content/common/service_worker/service_worker_types.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index d7c178511065f31bddc8ce9e5b195d697dc56b92..dec264e6414a96dcad6ec8fd3400b19af927a9cc 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -70,7 +70,8 @@ ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {}
ServiceWorkerObjectInfo::ServiceWorkerObjectInfo()
: handle_id(kInvalidServiceWorkerHandleId),
- state(blink::WebServiceWorkerStateUnknown) {}
+ state(blink::WebServiceWorkerStateUnknown),
+ version_id(kInvalidServiceWorkerVersionId) {}
ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo()
: handle_id(kInvalidServiceWorkerRegistrationHandleId),

Powered by Google App Engine
This is Rietveld 408576698