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

Unified Diff: Source/core/loader/EmptyClients.h

Issue 650033007: ServiceWorker: Make a way to retrieve a service worker version id (Blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address horo@'s comment 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: Source/core/loader/EmptyClients.h
diff --git a/Source/core/loader/EmptyClients.h b/Source/core/loader/EmptyClients.h
index 7a6a3550afb198f570030f955cfd72ffa751e35f..b20e4ca62187a0843532dbf077aa0e6de7a4a242 100644
--- a/Source/core/loader/EmptyClients.h
+++ b/Source/core/loader/EmptyClients.h
@@ -248,6 +248,7 @@ public:
virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvider() override;
virtual bool isControlledByServiceWorker(DocumentLoader&) override { return false; }
+ virtual int64_t serviceWorkerID(DocumentLoader&) override { return -1; }
virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHost(blink::WebApplicationCacheHostClient*) override;
};

Powered by Google App Engine
This is Rietveld 408576698