diff options
author | johnme@chromium.org <johnme@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 20:43:00 +0000 |
---|---|---|
committer | johnme@chromium.org <johnme@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 20:43:00 +0000 |
commit | de1fb60b919380d6ae0aa07cfae01300b82fef09 (patch) | |
tree | d1a04023f8e0053c9efaf3c7443a6488e33b2ed2 /content/shell/browser/shell_browser_context.h | |
parent | e31e8078d4824a1765d5b0e9ab58f72d15cf0de9 (diff) | |
download | chromium_src-de1fb60b919380d6ae0aa07cfae01300b82fef09.zip chromium_src-de1fb60b919380d6ae0aa07cfae01300b82fef09.tar.gz chromium_src-de1fb60b919380d6ae0aa07cfae01300b82fef09.tar.bz2 |
Hook PushMessagingMessageFilter up to GCMDriver
Add plumbing for registration from push service-agnostic content layer
to GCMDriver in chrome layer.
To achieve this, GCMProfileService owns an implementation of a new
PushMessagingService class, which can be used from the content layer.
Based on mvanouwerkerk's prototype in https://codereview.chromium.org/186023002, but significantly refactored.
BUG=350384
TBR=benm@chromium.org
Review URL: https://codereview.chromium.org/317823007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/browser/shell_browser_context.h')
-rw-r--r-- | content/shell/browser/shell_browser_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h index 60baa52..38a8906 100644 --- a/content/shell/browser/shell_browser_context.h +++ b/content/shell/browser/shell_browser_context.h @@ -74,6 +74,7 @@ class ShellBrowserContext : public BrowserContext { GetGeolocationPermissionContext() OVERRIDE; virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; + virtual PushMessagingService* GetPushMessagingService() OVERRIDE; net::URLRequestContextGetter* CreateRequestContext( ProtocolHandlerMap* protocol_handlers, |