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

Unified Diff: public/web/WebFrameClient.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: change assert 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
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 17e7770b70bf3fa18b29158ec3d24353233ff509..e44c22bf5fd9976a9e552019b607ea2a59533e5d 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -572,6 +572,10 @@ public:
// ServiceWorker.
virtual bool isControlledByServiceWorker(WebDataSource&) { return false; }
+ // Returns an identifier of the service worker controlling the document
+ // associated with the WebDataSource.
+ virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
+
protected:
virtual ~WebFrameClient() { }
};
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698