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

Unified Diff: public/web/WebFrameClient.h

Issue 634813002: [ServiceWorker] Add WebDataSource argument to isControlledByServiceWorker() [1/3 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use reference 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 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() { }
« 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