Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 6d41edb216849273b1de60f3eff08131b9e0496e..9f5ce6ecb41f87763434bf3394e40c1d34d75089 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -570,7 +570,11 @@ public: |
// ServiceWorker ------------------------------------------------------- |
// Whether the frame is controlled by the ServiceWorker |
+ // FIXME: Remove isControlledByServiceWorker(). |
virtual bool isControlledByServiceWorker() { return false; } |
+ // Whether the document associated with WebDataSource is controlled by the |
+ // ServiceWorker. |
+ virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } |
protected: |
virtual ~WebFrameClient() { } |