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

Unified Diff: content/public/browser/content_browser_client.h

Issue 186023002: DO NOT REVIEW Plumb push messaging registration through to gcm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 9 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 | « content/content_renderer.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 38a3c6fb4ddf3225d8772bc7663b70cd27ab7ac7..d7a2e502de6ccca883ce9956bfd20e9b4d3f15fe 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -84,6 +84,7 @@ class BrowserPpapiHost;
class BrowserURLHandler;
class LocationProvider;
class MediaObserver;
+class PushMessagingService;
class QuotaPermissionContext;
class RenderProcessHost;
class RenderViewHost;
@@ -495,6 +496,11 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual SpeechRecognitionManagerDelegate*
GetSpeechRecognitionManagerDelegate();
+ // Allows the embedder to provide an implementation of PushMessagingService.
+ // Ownership is transferred to the caller. It's valid to return NULL.
+ virtual PushMessagingService* CreatePushMessagingService(
+ BrowserContext* browser_context);
+
// Getters for common objects.
virtual net::NetLog* GetNetLog();
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698