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

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

Issue 317823007: Hook PushMessagingMessageFilter up to GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 6 years, 6 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: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 27a5569dba49ec295b6ec6cefccbebe0c778b8df..a34fd8dc80e2a24bb8d906bd4b76c39344b978c6 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -37,6 +37,7 @@ class DownloadManager;
class DownloadManagerDelegate;
class GeolocationPermissionContext;
class IndexedDBContext;
+class PushMessagingService;
class ResourceContext;
class SiteInstance;
class StoragePartition;
@@ -183,6 +184,11 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// Returns a special storage policy implementation, or NULL.
virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() = 0;
+
+ // Returns a push messaging service. The embedder owns the service, and is
+ // responsible for ensuring that it outlives RenderProcessHost. It's valid to
+ // return NULL.
+ virtual PushMessagingService* GetPushMessagingService() = 0;
Michael van Ouwerkerk 2014/06/06 13:42:46 It seems we could provide a default implementation
johnme 2014/06/06 14:17:54 None of the others do this. Perhaps it's intention
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698