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

Unified Diff: public/web/WebFrameClient.h

Issue 687933002: Move push client to frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 55cd88caae7ff0ff791c331063876afa0afaa20e..553d468605a7a53ecba24173f3fb263c98e2988b 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -78,6 +78,7 @@ class WebSocketHandle;
class WebNode;
class WebPlugin;
class WebPluginPlaceholder;
+class WebPushClient;
class WebRTCPeerConnectionHandler;
class WebScreenOrientationClient;
class WebSharedWorker;
@@ -570,6 +571,10 @@ public:
// associated with the WebDataSource.
virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
+ // Push API ------------------------------------------------------------
+
+ virtual WebPushClient* pushClient() { return 0; }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698