Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index d1e3bf56fa0c4e4f158f5ba1e71bc72700578d67..27b78549a81de31b671500fdd27808415c0138f1 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -93,6 +93,7 @@ class DevToolsManagerDelegate; |
class ExternalVideoSurfaceContainer; |
class LocationProvider; |
class MediaObserver; |
+class PushMessagingService; |
class QuotaPermissionContext; |
class RenderFrameHost; |
class RenderProcessHost; |
@@ -504,6 +505,13 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual SpeechRecognitionManagerDelegate* |
GetSpeechRecognitionManagerDelegate(); |
+ // Allows the embedder to provide an implementation of PushMessagingService. |
+ // Ownership is not transferred to the caller; instead the caller will assume |
+ // the service lifetime exceeds that of RenderProcessHost. |
+ // It's valid to return NULL. |
+ virtual PushMessagingService* CreatePushMessagingService( |
+ BrowserContext* browser_context); |
+ |
// Getters for common objects. |
virtual net::NetLog* GetNetLog(); |