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

Unified Diff: content/child/service_worker/service_worker_handle_reference.h

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: address review comments 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/child/service_worker/service_worker_handle_reference.h
diff --git a/content/child/service_worker/service_worker_handle_reference.h b/content/child/service_worker/service_worker_handle_reference.h
index 0393e55aa96c8955dc0e02893bd7f8d837429ce5..d70d665c6252d8c56c8cb8277eefbe9cbb6512b1 100644
--- a/content/child/service_worker/service_worker_handle_reference.h
+++ b/content/child/service_worker/service_worker_handle_reference.h
@@ -39,6 +39,7 @@ class ServiceWorkerHandleReference {
const GURL& url() const { return info_.url; }
blink::WebServiceWorkerState state() const { return info_.state; }
void set_state(blink::WebServiceWorkerState state) { info_.state = state; }
+ int64 version_id() const { return info_.version_id; }
private:
ServiceWorkerHandleReference(const ServiceWorkerObjectInfo& info,
« no previous file with comments | « content/browser/service_worker/service_worker_handle.cc ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698